/Linux-v5.10/drivers/gpu/drm/via/ |
D | via_map.c | 108 idr_init(&dev_priv->object_idr); in via_driver_load() 128 idr_destroy(&dev_priv->object_idr); in via_driver_unload()
|
D | via_mm.c | 156 retval = idr_alloc(&dev_priv->object_idr, item, 1, 0, GFP_KERNEL); in via_mem_alloc() 192 obj = idr_find(&dev_priv->object_idr, mem->index); in via_mem_free() 198 idr_remove(&dev_priv->object_idr, mem->index); in via_mem_free()
|
D | via_drv.h | 106 struct idr object_idr; member
|
/Linux-v5.10/drivers/gpu/drm/sis/ |
D | sis_drv.c | 52 idr_init(&dev_priv->object_idr); in sis_driver_load() 63 idr_destroy(&dev_priv->object_idr); in sis_driver_unload()
|
D | sis_mm.c | 134 retval = idr_alloc(&dev_priv->object_idr, item, 1, 0, GFP_KERNEL); in sis_drm_alloc() 173 obj = idr_find(&dev_priv->object_idr, mem->free); in sis_drm_free() 179 idr_remove(&dev_priv->object_idr, mem->free); in sis_drm_free()
|
D | sis_drv.h | 65 struct idr object_idr; member
|
/Linux-v5.10/drivers/gpu/drm/ |
D | drm_lease.c | 219 if (!idr_find(&dev->mode_config.object_idr, object)) in drm_lease_create() 666 struct idr *object_idr; in drm_mode_get_lease_ioctl() local 685 object_idr = &lessee->dev->mode_config.object_idr; in drm_mode_get_lease_ioctl() 688 object_idr = &lessee->leases; in drm_mode_get_lease_ioctl() 691 idr_for_each_entry(object_idr, entry, object) { in drm_mode_get_lease_ioctl()
|
D | drm_gem.c | 282 obj = idr_replace(&filp->object_idr, NULL, handle); in drm_gem_handle_delete() 292 idr_remove(&filp->object_idr, handle); in drm_gem_handle_delete() 391 ret = idr_alloc(&file_priv->object_idr, obj, 1, 0, GFP_NOWAIT); in drm_gem_handle_create_tail() 423 idr_remove(&file_priv->object_idr, handle); in drm_gem_handle_create_tail() 673 obj = idr_find(&filp->object_idr, handle[i]); in objects_lookup() 931 idr_init_base(&file_private->object_idr, 1); in drm_gem_open() 947 idr_for_each(&file_private->object_idr, in drm_gem_release() 949 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 | 414 idr_init(&dev->mode_config.object_idr); in drmm_mode_config_init() 549 idr_destroy(&dev->mode_config.object_idr); in drm_mode_config_cleanup()
|
/Linux-v5.10/include/drm/ |
D | drm_file.h | 261 struct idr object_idr; member
|
D | drm_mode_config.h | 405 struct idr object_idr; member
|
/Linux-v5.10/drivers/gpu/drm/i915/gvt/ |
D | dmabuf.c | 156 idr_remove(&vgpu->object_idr, in dmabuf_gem_object_free() 485 ret = idr_alloc(&vgpu->object_idr, dmabuf_obj, 1, 0, GFP_NOWAIT); in intel_vgpu_query_plane() 607 idr_remove(&vgpu->object_idr, dmabuf_obj->dmabuf_id); in intel_vgpu_dmabuf_cleanup()
|
D | gvt.h | 212 struct idr object_idr; member
|
D | vgpu.c | 396 idr_init(&vgpu->object_idr); in __intel_gvt_create_vgpu()
|
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gem.c | 93 idr_for_each_entry(&file->object_idr, gobj, handle) { in amdgpu_gem_force_release() 97 idr_destroy(&file->object_idr); in amdgpu_gem_force_release() 932 idr_for_each(&file->object_idr, amdgpu_debugfs_gem_bo_info, m); in amdgpu_debugfs_gem_info()
|
/Linux-v5.10/drivers/gpu/drm/v3d/ |
D | v3d_gem.c | 332 struct drm_gem_object *bo = idr_find(&file_priv->object_idr, in v3d_lookup_bos() 720 bo = idr_find(&file_priv->object_idr, in v3d_submit_tfu_ioctl()
|
/Linux-v5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_object.h | 67 return idr_find(&file->object_idr, handle); in i915_gem_object_lookup_rcu()
|
D | i915_gem_execbuffer.c | 773 if (idr_find(&eb->file->object_idr, handle) == obj) { in __eb_add_lut()
|
/Linux-v5.10/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_submit.c | 87 obj = idr_find(&file->object_idr, bo->handle); in submit_lookup_objects()
|
/Linux-v5.10/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 121 obj = idr_find(&file->object_idr, submit->bos[i].handle); in submit_lookup_objects()
|
/Linux-v5.10/drivers/gpu/drm/vc4/ |
D | vc4_gem.c | 770 struct drm_gem_object *bo = idr_find(&file_priv->object_idr, in vc4_cl_lookup_bos()
|
/Linux-v5.10/drivers/gpu/drm/i915/ |
D | i915_debugfs.c | 339 idr_for_each(&file->object_idr, per_file_stats, &stats); in print_context_stats()
|
/Linux-v5.10/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_context.c | 546 err = idr_alloc(&to_drm_file(file)->object_idr, in file_add_object()
|