Searched refs:import_attach (Results 1 – 14 of 14) sorted by relevance
223 struct dma_buf_attachment *import_attach; in igt_dmabuf_import_same_driver() local287 import_attach = dma_buf_attach(dmabuf, obj->base.dev->dev); in igt_dmabuf_import_same_driver()288 if (IS_ERR(import_attach)) { in igt_dmabuf_import_same_driver()289 err = PTR_ERR(import_attach); in igt_dmabuf_import_same_driver()293 st = dma_buf_map_attachment_unlocked(import_attach, DMA_BIDIRECTIONAL); in igt_dmabuf_import_same_driver()306 dma_buf_unmap_attachment_unlocked(import_attach, st, DMA_BIDIRECTIONAL); in igt_dmabuf_import_same_driver()308 dma_buf_detach(dmabuf, import_attach); in igt_dmabuf_import_same_driver()
254 sgt = dma_buf_map_attachment(obj->base.import_attach, in i915_gem_object_get_pages_dmabuf()282 dma_buf_unmap_attachment(obj->base.import_attach, sgt, in i915_gem_object_put_pages_dmabuf()336 obj->base.import_attach = attach; in i915_gem_prime_import()
377 if (obj->base.import_attach) in __i915_gem_object_pages_fini()382 if (obj->base.import_attach) in __i915_gem_object_pages_fini()396 if (obj->base.import_attach) in __i915_gem_free_object()
481 obj->import_attach = attach; in amdgpu_gem_prime_import()500 if (obj->import_attach) { in amdgpu_dmabuf_is_xgmi_accessible()502 struct dma_buf *dma_buf = obj->import_attach->dmabuf; in amdgpu_dmabuf_is_xgmi_accessible()
63 if (bo->tbo.base.import_attach) in amdgpu_bo_destroy()920 if (bo->tbo.base.import_attach) { in amdgpu_bo_pin_restricted()957 if (bo->tbo.base.import_attach) in amdgpu_bo_pin_restricted()958 dma_buf_pin(bo->tbo.base.import_attach); in amdgpu_bo_pin_restricted()1036 if (bo->tbo.base.import_attach) in amdgpu_bo_unpin()1037 dma_buf_unpin(bo->tbo.base.import_attach); in amdgpu_bo_unpin()1297 if (abo->tbo.base.dma_buf && !abo->tbo.base.import_attach && in amdgpu_bo_move_notify()1651 attachment = READ_ONCE(bo->tbo.base.import_attach); in amdgpu_bo_print_info()
929 attach = gtt->gobj->import_attach; in amdgpu_ttm_backend_bind()1056 } else if (ttm->sg && gtt->gobj->import_attach) { in amdgpu_ttm_backend_unbind()1059 attach = gtt->gobj->import_attach; in amdgpu_ttm_backend_unbind()
1151 if (obj->import_attach && bo_va->is_xgmi) { in amdgpu_vm_bo_update()1152 struct dma_buf *dma_buf = obj->import_attach->dmabuf; in amdgpu_vm_bo_update()
970 if (robj->tbo.base.import_attach &&
1277 if (obj->import_attach && !(domains & AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_display_user_framebuffer_create()
452 if (obj->import_attach) { in drm_gem_prime_handle_to_fd()453 dmabuf = obj->import_attach->dmabuf; in drm_gem_prime_handle_to_fd()997 obj->import_attach = attach; in drm_gem_prime_import_dev()1113 attach = obj->import_attach; in drm_prime_gem_destroy()
509 if (obj->import_attach) { in drm_gem_dumb_map_offset()1467 str_yes_no(obj->import_attach)); in drm_gem_print_info()
380 struct dma_buf_attachment *import_attach; member
63 if (bo->tbo.base.import_attach) in radeon_ttm_bo_destroy()
1331 if (obj->import_attach) { in radeon_user_framebuffer_create()