Searched refs:object_idr (Results 1 – 15 of 15) sorted by relevance
/drivers/gpu/drm/ |
D | drm_lease.c | 234 if (!idr_find(&dev->mode_config.object_idr, object)) in drm_lease_create() 650 struct idr *object_idr; in drm_mode_get_lease_ioctl() local 670 object_idr = &lessee->dev->mode_config.object_idr; in drm_mode_get_lease_ioctl() 673 object_idr = &lessee->leases; in drm_mode_get_lease_ioctl() 676 idr_for_each_entry(object_idr, entry, object) { in drm_mode_get_lease_ioctl()
|
D | drm_gem.c | 284 obj = idr_replace(&filp->object_idr, NULL, handle); in drm_gem_handle_delete() 294 idr_remove(&filp->object_idr, handle); in drm_gem_handle_delete() 376 ret = idr_alloc(&file_priv->object_idr, obj, 1, 0, GFP_NOWAIT); in drm_gem_handle_create_tail() 404 idr_remove(&file_priv->object_idr, handle); in drm_gem_handle_create_tail() 666 obj = idr_find(&filp->object_idr, handle[i]); in objects_lookup() 924 idr_init_base(&file_private->object_idr, 1); in drm_gem_open() 940 idr_for_each(&file_private->object_idr, in drm_gem_release() 942 idr_destroy(&file_private->object_idr); in drm_gem_release()
|
D | drm_mode_object.c | 48 ret = idr_alloc(&dev->mode_config.object_idr, register_obj ? obj : NULL, in __drm_mode_object_add() 89 idr_replace(&dev->mode_config.object_idr, obj, obj->id); in drm_mode_object_register() 111 idr_remove(&dev->mode_config.object_idr, object->id); in drm_mode_object_unregister() 143 obj = idr_find(&dev->mode_config.object_idr, id); in __drm_mode_object_find()
|
D | drm_mode_config.c | 419 idr_init_base(&dev->mode_config.object_idr, 1); in drmm_mode_config_init() 558 idr_destroy(&dev->mode_config.object_idr); in drm_mode_config_cleanup()
|
D | drm_file.c | 963 idr_for_each_entry (&file->object_idr, obj, id) { in drm_show_memory_stats()
|
/drivers/gpu/drm/i915/gvt/ |
D | dmabuf.c | 145 idr_remove(&vgpu->object_idr, in dmabuf_gem_object_free() 468 ret = idr_alloc(&vgpu->object_idr, dmabuf_obj, 1, 0, GFP_NOWAIT); in intel_vgpu_query_plane() 581 idr_remove(&vgpu->object_idr, dmabuf_obj->dmabuf_id); in intel_vgpu_dmabuf_cleanup()
|
D | vgpu.c | 334 idr_init_base(&vgpu->object_idr, 1); in intel_gvt_create_vgpu()
|
D | gvt.h | 217 struct idr object_idr; member
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gem.c | 146 idr_for_each_entry(&file->object_idr, gobj, handle) { in amdgpu_gem_force_release() 150 idr_destroy(&file->object_idr); in amdgpu_gem_force_release() 982 idr_for_each_entry(&file->object_idr, gobj, id) { in amdgpu_debugfs_gem_info_show()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_gem.c | 296 idr_for_each_entry(&file->object_idr, gobj, id) { in vmw_debugfs_gem_info_show()
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_object.h | 104 return idr_find(&file->object_idr, handle); in i915_gem_object_lookup_rcu()
|
D | i915_gem_execbuffer.c | 865 if (idr_find(&eb->file->object_idr, handle) == obj) { in __eb_add_lut()
|
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_submit.c | 87 obj = idr_find(&file->object_idr, bo->handle); in submit_lookup_objects()
|
/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 159 obj = idr_find(&file->object_idr, submit->bos[i].handle); in submit_lookup_objects()
|
/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_context.c | 567 err = idr_alloc(&to_drm_file(file)->object_idr, in file_add_object()
|