Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c, line 1670
- drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c, line 2887
- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c, line 2238
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c gfx_v9_4_3_cp_resume() -> amdgpu_xcp_switch_partition_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xcp_mgr | 4096-ptr_max |
| PARAM_VALUE | 0 | xcp_mgr->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | xcp_mgr->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | xcp_mgr->funcs | 0,4096-ptr_max |
3d756af95eb3bd31 gfx_v12_1_cp_resume() -> amdgpu_xcp_switch_partition_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xcp_mgr | 4096-ptr_max |
| PARAM_VALUE | 0 | xcp_mgr->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | xcp_mgr->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | xcp_mgr->funcs | 0,4096-ptr_max |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_set_compute_partition() -> amdgpu_xcp_switch_partition_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 0-4 |
| FUZZY_MAX | 1 | mode | 4 |
| HARD_MAX | 1 | mode | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->reset_domain->sem | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |