Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c smu_force_performance_level() -> smu_handle_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smu | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->adev->gfx.rlc.cs_data->section->reg_count | 0-6,8,11,34,55-56,66,98-99,155,157-158,203,212,215,233,272,274 |
| PARAM_VALUE | 0 | smu->adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530 |
| PARAM_VALUE | 0 | smu->adev->pm.dpm_enabled | 1 |
| PARAM_VALUE | 0 | smu->pm_enabled | 1 |
| PARAM_VALUE | 2 | task_id | 2 |
| BUF_SIZE | 0 | smu | (-1),1256,3968,3984 |
| BUF_SIZE | 0 | smu | (-1),1256,3968,3984 |
| DATA_SOURCE | 0 | smu | $0 |
| DATA_SOURCE | 1 | level | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c smu_handle_dpm_task() -> smu_handle_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | task_id | 1-2 |
| BUF_SIZE | 0 | smu | 1256,3984 |
| BUF_SIZE | 0 | smu | 1256,3984 |
| DATA_SOURCE | 0 | smu | $0 |
| DATA_SOURCE | 2 | task_id | $1 |
| HARD_MAX | 2 | task_id | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |