Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c, line 774
- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c, line 695
- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c amdgpu_mem_info_vis_vram_used_show() -> amdgpu_vram_mgr_vis_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c amdgpu_vram_mgr_debug() -> amdgpu_vram_mgr_vis_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| DATA_SOURCE | 0 | mgr | r to_vram_mgr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_info_ioctl() -> amdgpu_vram_mgr_vis_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_info_ioctl() -> amdgpu_vram_mgr_vis_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_get_threshold_for_moves() -> amdgpu_vram_mgr_vis_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &adev->mm_stats.lock | ||
| TYPE_LOCK | (struct amdgpu_device)->mm_stats.lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c amdgpu_virt_write_vf2pf_data() -> amdgpu_vram_mgr_vis_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |