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_set_watermarks_for_clock_ranges() -> (struct pptable_funcs)->set_watermarks_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smu | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->adev->pm.dpm_enabled | 1 |
| PARAM_VALUE | 0 | smu->disable_watermark | 0 |
| PARAM_VALUE | 0 | smu->pm_enabled | 1 |
| PARAM_VALUE | 0 | smu->ppt_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->ppt_funcs->set_watermarks_table | 4096-ptr_max |
| DATA_SOURCE | 0 | smu | $0 |
| DATA_SOURCE | 1 | clock_ranges | $1 |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c smu_write_watermarks_table() -> (struct pptable_funcs)->set_watermarks_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smu | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->adev->pm.dpm_enabled | 1 |
| PARAM_VALUE | 0 | smu->pm_enabled | 1 |
| PARAM_VALUE | 0 | smu->ppt_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->ppt_funcs->set_watermarks_table | 4096-ptr_max |
| PARAM_VALUE | 1 | clock_ranges | 0 |
| BUF_SIZE | 0 | smu | 1256,3984 |
| BUF_SIZE | 0 | smu | 1256,3984 |
| DATA_SOURCE | 0 | smu | $0 |
| LOCK2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |