Documented in 1 files:

Defined in 1 files as a function:

Referenced in 16 files:

Smatch caller information:

drivers/gpu/drm/radeon/radeon_ring.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gt/intel_ggtt.c i915_gem_object_trylock() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ggtt->vm.mutex
HALF_LOCKED2 &vm->mutex
TYPE_LOCK (struct i915_address_space)->mutex

drivers/gpu/drm/radeon/radeon_vm.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/ttm/ttm_bo.c ttm_bo_individualize_resv() -> dma_resv_trylock()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/ttm/ttm_bo.c ttm_bo_init_reserved() -> dma_resv_trylock()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
BUF_SIZE 0 obj 176
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/ttm/ttm_bo.c ttm_bo_release() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/ttm/ttm_bo.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/radeon/radeon_benchmark.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c amdgpu_dma_buf_move_notify() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &entry->dmabufs_lock
HALF_LOCKED2 &uverbs_dmabuf->mmap_entry->dmabufs_lock
HALF_LOCKED2 dmabuf->resv

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/qxl/qxl_object.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/qxl/qxl_ioctl.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value

drivers/gpu/drm/ttm/ttm_execbuf_util.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev_priv->cmdbuf_mutex

drivers/gpu/drm/panthor/panthor_gem.c nonblocking_page_setup() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/panthor/panthor_gem.c panthor_gem_try_evict_no_resv_wait() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bo->base.gpuva.lock
HALF_LOCKED2 &obj->resv->lock.base
HALF_LOCKED2 &obj->resv->lock.base
TYPE_LOCK (struct drm_gem_object)->gpuva.lock
TYPE_LOCK (struct ww_mutex)->base

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_print_info() -> dma_resv_trylock()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->filelist_mutex
LOCK2 &m->lock
HALF_LOCKED2 &file->table_lock
HALF_LOCKED2 vm->root.bo->tbo.base.resv
TYPE_LOCK (struct drm_device)->filelist_mutex
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_print_info() -> dma_resv_trylock()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->filelist_mutex
LOCK2 &m->lock
HALF_LOCKED2 &file->table_lock
HALF_LOCKED2 vm->root.bo->tbo.base.resv
TYPE_LOCK (struct drm_device)->filelist_mutex
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_release_notify() -> dma_resv_trylock()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/iio/industrialio-buffer.c iio_dma_resv_lock() -> dma_resv_trylock()

Type Parameter Key Value

drivers/gpu/drm/radeon/atombios_crtc.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_handle_moved() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &process_info->lock
HALF_LOCKED2 resv

drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &p->mutex

drivers/gpu/drm/vmwgfx/vmwgfx_vkms.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/dce_v8_0.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/nouveau/dispnv04/crtc.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
LOCK2 &cli->mutex
LOCK2 &crtc->mutex
LOCK2 &plane->mutex
TYPE_LOCK (struct drm_crtc)->mutex
TYPE_LOCK (struct drm_plane)->mutex
TYPE_LOCK (struct nouveau_cli)->mutex

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process_queue_manager.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
LOCK2 &p->mutex
TYPE_LOCK (struct kfd_process)->mutex

drivers/gpu/drm/vmwgfx/vmwgfx_resource.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev_priv->cmdbuf_mutex

drivers/gpu/drm/i915/gt/intel_migrate.c i915_gem_object_trylock() -> dma_resv_trylock()

Type Parameter Key Value

drivers/gpu/drm/radeon/cik.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/radeon/radeon_vce.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/i915_vma.c i915_gem_object_trylock() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &wf->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct intel_wakeref)->mutex

drivers/gpu/drm/radeon/radeon_sa.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/dce_v6_0.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/dce_v10_0.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/radeon/radeon_mn.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock

drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev_priv->cmdbuf_mutex

drivers/gpu/drm/nouveau/nouveau_gem.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/radeon/radeon_gem.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &rdev->exclusive_lock

drivers/gpu/drm/nouveau/nouveau_bo.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/amd/amdgpu/mes_userqueue.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value

drivers/gpu/drm/radeon/r600.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_drm_client.c show_meminfo() -> dma_resv_trylock()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &file->table_lock
LOCK2 &m->lock
LOCK2 global &drm_unplug_srcu
TYPE_LOCK (struct drm_file)->table_lock
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/xe/xe_drm_client.c show_meminfo() -> dma_resv_trylock()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &client->bos_lock
LOCK2 &m->lock
LOCK2 global &drm_unplug_srcu
TYPE_LOCK (struct seq_file)->lock
TYPE_LOCK (struct xe_drm_client)->bos_lock

drivers/gpu/drm/drm_gem_vram_helper.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &p->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/radeon/evergreen.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/ttm/ttm_bo_util.c ttm_buffer_object_transfer() -> dma_resv_trylock()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 0 obj->fences 0
PARAM_VALUE 0 obj->lock.base.first_waiter 0
PARAM_VALUE 0 obj->lock.base.magic 4096-ptr_max
PARAM_VALUE 0 obj->lock.base.osq.tail.counter 0
PARAM_VALUE 0 obj->lock.base.owner.counter 0
PARAM_VALUE 0 obj->lock.ctx 0
PARAM_VALUE 0 obj->lock.ww_class 8825623990767841280
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bo->base.resv

drivers/gpu/drm/ttm/ttm_bo_util.c ttm_lru_walk_trylock() -> dma_resv_trylock()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 lru_lock
HALF_LOCKED2 0 obj

drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
PARAM_VALUE 0 obj 1-u64max
PARAM_VALUE 0 obj->fences 0,4096-ptr_max
PARAM_VALUE 0 obj->fences->max_fences 0-4294967295
PARAM_VALUE 0 obj->fences->num_fences 0-4294967295
PARAM_VALUE 0 obj->lock.base.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 obj->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 obj->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 obj->lock.ctx 0
PARAM_VALUE 0 obj->lock.ww_class 8825623990767841280
CAPPED_DATA 0 obj->fences 1

drivers/gpu/drm/radeon/radeon_object.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->clientlist_mutex
HALF_LOCKED2 &fb_helper->lock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_wb.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gem/i915_gem_shrinker.c i915_gem_object_trylock() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gt->ggtt->vm.mutex

drivers/gpu/drm/msm/msm_gem_shrinker.c with_vm_locks() -> dma_resv_trylock()

Type Parameter Key Value

3d756af95eb3bd31 ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value

drivers/gpu/drm/radeon/radeon_device.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gt/intel_engine_cs.c i915_gem_object_trylock() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ce->pin_mutex
TYPE_LOCK (struct intel_context)->pin_mutex

drivers/gpu/drm/xe/xe_bo.c xe_bo_cpu_fault_fastpath() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &drm_unplug_srcu

drivers/gpu/drm/xe/xe_bo.c xe_ttm_bo_lock_in_destructor() -> dma_resv_trylock()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ttm_bo->bdev->lru_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ttm_device)->lru_lock

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &p->mutex

drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c panfrost_gem_purge() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bo->mappings.lock
LOCK2 &pfdev->shrinker_lock
HALF_LOCKED2 global &bch_register_lock
TYPE_LOCK (struct panfrost_device)->shrinker_lock
TYPE_LOCK (struct panfrost_gem_object)->mappings.lock

drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/radeon/radeon_gart.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/radeon/radeon_cursor.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/ttm/tests/ttm_bo_test.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
PARAM_VALUE 0 obj 1-u64max
PARAM_VALUE 0 obj->fences 0
PARAM_VALUE 0 obj->lock.base.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 obj->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 obj->lock.base.magic 4096-ptr_max
PARAM_VALUE 0 obj->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 0 obj->lock.ctx 0
PARAM_VALUE 0 obj->lock.ww_class 8825623990767841280
HALF_LOCKED2 0 obj

drivers/gpu/drm/amd/amdgpu/amdgpu_display.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->mutex
HALF_LOCKED2 &plane->mutex

drivers/gpu/drm/i915/gem/i915_gem_stolen.c i915_gem_object_trylock() -> dma_resv_trylock()

Type Parameter Key Value
PARAM_VALUE 0 obj 1-u64max
PARAM_VALUE 0 obj->fences 0
PARAM_VALUE 0 obj->lock.base.first_waiter 0
PARAM_VALUE 0 obj->lock.base.magic 4096-ptr_max
PARAM_VALUE 0 obj->lock.base.osq.tail.counter 0
PARAM_VALUE 0 obj->lock.base.owner.counter 0
PARAM_VALUE 0 obj->lock.ctx 0
PARAM_VALUE 0 obj->lock.ww_class 8825623990767841280
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/radeon/radeon_kms.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/radeon/radeon_display.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
HALF_LOCKED2 &crtc->mutex
HALF_LOCKED2 &plane->mutex

drivers/gpu/drm/vmwgfx/vmwgfx_mob.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/radeon/radeon_ttm.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/radeon/radeon_legacy_crtc.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mm->mmap_lock
HALF_LOCKED2 &prange->migrate_mutex
HALF_LOCKED2 &svms->lock
TYPE_LOCK (struct mm_struct)->mmap_lock

drivers/gpu/drm/ttm/ttm_bo_vm.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/ttm/ttm_bo_vm.c ttm_bo_vm_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &rdev->pm.mclk_lock

drivers/gpu/drm/i915/i915_gem_evict.c i915_gem_object_trylock() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ggtt->vm.mutex
HALF_LOCKED2 0 obj

drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value

drivers/gpu/drm/radeon/radeon_uvd.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &(*mem)->process_info->lock
HALF_LOCKED2 &mem->lock
HALF_LOCKED2 &mem->process_info->lock
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &process_info->lock

drivers/gpu/drm/i915/gt/intel_engine_pm.c i915_gem_object_trylock() -> dma_resv_trylock()

Type Parameter Key Value

drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
HALF_LOCKED2 &dev->filelist_mutex
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/radeon/radeon_test.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 vram_obj->tbo.base.resv

drivers/gpu/drm/vmwgfx/vmwgfx_bo.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH

drivers/gpu/drm/loongson/lsdc_ttm.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ldev->gem.mutex
HALF_LOCKED2 &m->lock

drivers/usb/gadget/function/f_fs.c ffs_dma_resv_lock() -> dma_resv_trylock()

Type Parameter Key Value

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value

drivers/gpu/drm/vmwgfx/vmwgfx_kms.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/radeon/radeon_fbdev.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->clientlist_mutex
HALF_LOCKED2 &fb_helper->lock

drivers/gpu/drm/msm/msm_gem.c msm_gem_trylock() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
HALF_LOCKED2 &priv->obj_lock
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/qxl/qxl_cmd.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &qdev->surf_evict_mutex
HALF_LOCKED2 surf->tbo.base.resv
TYPE_LOCK (struct qxl_device)->surf_evict_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c ttm_bo_reserve() -> dma_resv_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev_priv->cmdbuf_mutex