Searched refs:drv_get_fd (Results 1 – 6 of 6) sorted by relevance
319 drm_version = drmGetVersion(drv_get_fd(drv)); in amdgpu_init()330 if (query_dev_info(drv_get_fd(drv), &priv->dev_info)) { in amdgpu_init()342 if (sdma_init(priv, drv_get_fd(drv))) in amdgpu_init()420 sdma_finish(drv->priv, drv_get_fd(drv)); in amdgpu_close()482 ret = drmCommandWriteRead(drv_get_fd(bo->drv), DRM_AMDGPU_GEM_CREATE, &gem_create, in amdgpu_create_bo_linear()
124 int drv_get_fd(struct driver *drv);
24 return drv_get_fd(gbm->drv); in gbm_device_get_fd()
200 dri->fd = open(drmGetRenderDeviceNameFromFd(drv_get_fd(drv)), O_RDWR); in dri_init()
184 int drv_get_fd(struct driver *drv) in drv_get_fd() function
58 int fd = drv_get_fd(drv_); in ~cros_gralloc_driver()