Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 20 files:
- drivers/dma-buf/dma-buf.c, line 464
- drivers/dma-buf/dma-fence.c, line 143
- drivers/dma-buf/st-dma-fence-unwrap.c, line 469
- drivers/dma-buf/st-dma-fence.c, line 336
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c, line 1589
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c, line 257
- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_tlb_fence.c, line 93
- drivers/gpu/drm/drm_syncobj.c
- drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c, line 655
- drivers/gpu/drm/xe/xe_bo.c, line 1721
- drivers/gpu/drm/xe/xe_exec_queue.c
- drivers/gpu/drm/xe/xe_migrate.c, line 1853
- drivers/gpu/drm/xe/xe_pt.c, line 2735
- drivers/gpu/drm/xe/xe_tlb_inval_job.c
- drivers/gpu/drm/xe/xe_vm.c
Smatch caller information:
drivers/gpu/drm/xe/xe_tlb_inval_job.c xe_tlb_inval_job_alloc_dep() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_fence_to_handle_ioctl() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_bo_add() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mem->lock | ||
| HALF_LOCKED2 | &mem->process_info->lock | ||
| HALF_LOCKED2 | &p->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_init() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_init() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_init() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_make_compute() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &p->mutex | ||
| LOCK2 | vm->root.bo->tbo.base.resv | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_update_range() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vm->eviction_lock | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &prange->lock | ||
| HALF_LOCKED2 | &prange->migrate_mutex | ||
| HALF_LOCKED2 | &svms->lock | ||
| TYPE_LOCK | (struct amdgpu_vm)->eviction_lock |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_update_pgtables_cpu() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &pt_update->vops->vm->svm.gpusvm.notifier_lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_tlb_fence.c amdgpu_vm_tlb_fence_create() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vm->eviction_lock | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &prange->lock | ||
| HALF_LOCKED2 | &prange->migrate_mutex | ||
| HALF_LOCKED2 | &svms->lock | ||
| TYPE_LOCK | (struct amdgpu_vm)->eviction_lock |
drivers/dma-buf/dma-buf.c dma_buf_export_sync_file() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|
drivers/dma-buf/st-dma-fence-unwrap.c test_unwrap_merge_complex() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|
drivers/dma-buf/st-dma-fence.c test_stub() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c ttm_bo_validate_move_fence_signaled() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c amdgpu_ring_init() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_vm.c ops_execute() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &range->lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_vm.c xe_vm_range_unbind() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vm->lock | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_exec_queue.c xe_exec_queue_last_fence_get() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &vm->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_exec_queue.c xe_exec_queue_last_fence_get_for_resume() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &group->mode_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_hw_engine_group)->mode_sem |
drivers/gpu/drm/xe/xe_exec_queue.c xe_exec_queue_tlb_inval_last_fence_get() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_bo.c xe_ttm_bo_release_notify() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ttm_bo->base._resv | ||
| TYPE_LOCK | (struct drm_gem_object)->_resv |
drivers/gpu/drm/xe/xe_pt.c xe_pt_update_ops_run() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_array_wait_timeout() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/drm_syncobj.c drm_syncobj_fence_add_wait() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &syncobj->lock | ||
| TYPE_LOCK | (struct drm_syncobj)->lock |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_find_fence() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_timeline_signal_ioctl() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/drm_syncobj.c syncobj_eventfd_entry_func() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &syncobj->lock | ||
| TYPE_LOCK | (struct drm_syncobj)->lock |
drivers/gpu/drm/drm_syncobj.c syncobj_wait_syncobj_func() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &syncobj->lock | ||
| HALF_LOCKED2 | &p->adev->notifier_lock | ||
| HALF_LOCKED2 | &queue->lock | ||
| HALF_LOCKED2 | &sched->mutex | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct drm_syncobj)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c amdgpu_evf_mgr_detach_fence() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->object_name_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c amdgpu_evf_mgr_init() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_va_update_vm() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | gobj->resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_va_update_vm() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | gobj->resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_remove_all_eviction_fences() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bo->base._resv | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct drm_gem_object)->_resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_remove_eviction_fence() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mem->process_info->lock | ||
| HALF_LOCKED2 | &p->mutex | ||
| HALF_LOCKED2 | bo->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_init() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_init() -> dma_fence_get_stub()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |