Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/dma-buf/dma-resv.c, line 364
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c, line 155
- drivers/gpu/drm/xe/xe_bo.c, line 1723
Smatch caller information:
drivers/gpu/drm/xe/xe_bo.c xe_ttm_bo_release_notify() -> dma_resv_replace_fences()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 2 | replacement | 7374952732141793280 |
| PARAM_VALUE | 3 | usage | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ttm_bo->base._resv | ||
| TYPE_LOCK | (struct drm_gem_object)->_resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c amdgpu_evf_mgr_detach_fence() -> dma_resv_replace_fences()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | replacement | 7374952732141793280 |
| PARAM_VALUE | 3 | usage | 3 |
| DATA_SOURCE | 2 | replacement | r dma_fence_get_stub |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->object_name_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_remove_all_eviction_fences() -> dma_resv_replace_fences()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 2 | replacement | 7374952732141793280 |
| PARAM_VALUE | 3 | usage | 3 |
| BUF_SIZE | 0 | obj | 176 |
| DATA_SOURCE | 2 | replacement | r dma_fence_get_stub |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_resv_replace_fences()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj->lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 2 | replacement | 7374952732141793280 |
| PARAM_VALUE | 3 | usage | 3 |
| DATA_SOURCE | 2 | replacement | r dma_fence_get_stub |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mem->process_info->lock | ||
| HALF_LOCKED2 | &p->mutex | ||
| HALF_LOCKED2 | 0 | obj |