Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/dma-buf/dma-buf.c, line 459
- drivers/dma-buf/dma-resv.c, line 662
- drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c, line 191
- drivers/gpu/drm/drm_gem_atomic_helper.c, line 149
- drivers/gpu/drm/i915/display/intel_fb.c, line 2175
- drivers/gpu/drm/i915/display/intel_plane.c, line 1409
- drivers/gpu/drm/i915/gem/i915_gem_object.c, line 919
- drivers/gpu/drm/nouveau/nouveau_bo.c, line 1133
- drivers/gpu/drm/radeon/radeon_display.c, line 537
- drivers/gpu/drm/vc4/vc4_crtc.c, line 972
- drivers/gpu/drm/xe/xe_svm.c, line 1144
Smatch caller information:
drivers/gpu/drm/i915/display/intel_plane.c add_dma_resv_fences() -> dma_resv_get_singleton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage | 1 |
| PARAM_VALUE | 2 | fence | 7225997531810041856 |
| DATA_SOURCE | 0 | obj | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/dma-buf/dma-buf.c dma_buf_export_sync_file() -> dma_resv_get_singleton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage | 1-2 |
| PARAM_VALUE | 2 | fence | 8413580734903660544 |
| PARAM_VALUE | 2 | *fence | 0 |
| DATA_SOURCE | 1 | usage | r dma_resv_usage_rw |
drivers/gpu/drm/nouveau/nouveau_bo.c nouveau_bo_vm_cleanup() -> dma_resv_get_singleton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj->fences | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->fences->num_fences | 0-4294967295 |
| PARAM_VALUE | 0 | obj->lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 1 | usage | 1 |
| PARAM_VALUE | 2 | fence | 8824190307829243904 |
| BUF_SIZE | 0 | obj | (-1),176 |
| BUF_SIZE | 0 | obj | (-1),176 |
| CAPPED_DATA | 0 | obj->fences | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | obj |
drivers/gpu/drm/i915/gem/i915_gem_object.c i915_gem_object_get_moving_fence() -> dma_resv_get_singleton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage | 0 |
| PARAM_VALUE | 2 | fence | 8924814167692718080 |
| PARAM_VALUE | 2 | *fence | 0 |
| DATA_SOURCE | 2 | fence | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | >->perf.lock | ||
| HALF_LOCKED2 | __flags | ||
| HALF_LOCKED2 | bo->base.resv | ||
| HALF_LOCKED2 | ce->timeline->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | engine->legacy.ring->vma->obj->base.resv | ||
| HALF_LOCKED2 | obj->base.resv | ||
| HALF_LOCKED2 | ppgtt->pd->pt.base->base.resv | ||
| HALF_LOCKED2 | rpcs->base.resv | ||
| HALF_LOCKED2 | timeline->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | vma->obj->base.resv | ||
| HALF_LOCKED2 | 0 | obj |
drivers/gpu/drm/vc4/vc4_crtc.c vc4_async_set_fence_cb() -> dma_resv_get_singleton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage | 2 |
| PARAM_VALUE | 2 | fence | 8520188560008200192 |
| LOCK2 | &crtc->mutex | ||
| LOCK2 | &plane->mutex | ||
| TYPE_LOCK | (struct drm_crtc)->mutex | ||
| TYPE_LOCK | (struct drm_plane)->mutex |
drivers/gpu/drm/drm_gem_atomic_helper.c drm_gem_plane_helper_prepare_fb() -> dma_resv_get_singleton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage | 0-1 |
| PARAM_VALUE | 2 | fence | 3705877856850608128 |
| FUZZY_MAX | 1 | usage | 1 |
| HARD_MAX | 1 | usage | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rbo->tbo.base.resv |
drivers/gpu/drm/radeon/radeon_display.c radeon_crtc_page_flip_target() -> dma_resv_get_singleton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | usage | 1 |
| PARAM_VALUE | 2 | fence | 4096-ptr_max |
| LOCK2 | &crtc->mutex | ||
| LOCK2 | &plane->mutex | ||
| LOCK2 | 0 | obj | |
| TYPE_LOCK | (struct drm_crtc)->mutex | ||
| TYPE_LOCK | (struct drm_plane)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c amdgpu_pasid_free_delayed() -> dma_resv_get_singleton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | usage | 3 |
| PARAM_VALUE | 2 | fence | 4404531477989855232 |
| DATA_SOURCE | 0 | obj | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_svm.c xe_drm_pagemap_populate_mm() -> dma_resv_get_singleton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj->fences | 0,4096-ptr_max |
| PARAM_VALUE | 1 | usage | 0 |
| PARAM_VALUE | 2 | fence | 6740756698235506688 |
| PARAM_VALUE | 2 | *fence | 0 |
| LOCK2 | &driver_migrate_lock | ||
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &vm->lock | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/i915/display/intel_fb.c intel_user_framebuffer_dirty() -> dma_resv_get_singleton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj->fences | 0,4096-ptr_max |
| PARAM_VALUE | 1 | usage | 1 |
| PARAM_VALUE | 2 | fence | 2109733924872826880 |
| RX_PATH | |||
| TASK_NOT_RUNNING |