Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c, line 1626
- drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c, line 861
- drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c, line 386
- drivers/gpu/drm/amd/amdgpu/soc_v1_0.c, line 698
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c aqua_vanjaram_switch_partition_mode() -> amdgpu_gfx_compute_mode_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | s32min-(-3),0-s32max |
| DATA_SOURCE | 0 | mode | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &xcp_mgr->xcp_lock | ||
| TYPE_LOCK | (struct amdgpu_xcp_mgr)->xcp_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_get_current_compute_partition() -> amdgpu_gfx_compute_mode_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | (-128)-127 |
| CAPPED_DATA | 0 | mode | 1 |
| DATA_SOURCE | 0 | mode | r amdgpu_xcp_query_partition_mode |
| 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_xcp.c xcp_config_show() -> amdgpu_gfx_compute_mode_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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/soc_v1_0.c soc_v1_0_switch_partition_mode() -> amdgpu_gfx_compute_mode_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | s32min-(-3),0-s32max |
| DATA_SOURCE | 0 | mode | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &xcp_mgr->xcp_lock | ||
| TYPE_LOCK | (struct amdgpu_xcp_mgr)->xcp_lock |