Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 4 files as a function:
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c, line 1336 (as a function)
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c, line 1112 (as a function)
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c, line 470 (as a function)
- tools/thermal/tmon/pid.c, line 55 (as a function)
Referenced in 4 files:
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c, line 1622
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c, line 1901
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c, line 1616
- tools/thermal/tmon/tmon.c, line 296
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/process_pptables_v1_0.c pp_tables_v1_0_initialize() -> init_thermal_controller()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->backend_init | 298865806522781696,2268852976927596544,4613790147379523584,6986837916581347328,7167594031292080128,8267523205528322048 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.platformCaps | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pm_en | 1 |
| PARAM_VALUE | 0 | hwmgr->pptable | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pptable_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pptable_func->pptable_init | 1520901707310510080,3822322643030208512,4309642798966882304,4627094066790367232,9086924483460136960 |
| PARAM_VALUE | 0 | hwmgr->soft_pp_table_size | 80-u16max |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 1 | powerplay_table | 4096-ptr_max |
| PARAM_VALUE | 1 | powerplay_table->sHeader.ucTableFormatRevision | 7-255 |
| PARAM_VALUE | 1 | powerplay_table->sHeader.usStructureSize | 1-u16max |
| PARAM_VALUE | 1 | powerplay_table->usStateArrayOffset | 1-65531 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr->pptable | 192 |
| BUF_SIZE | 1 | powerplay_table | (-1),1-1000000000 |
| BUF_SIZE | 1 | powerplay_table | (-1),1-1000000000 |
| CAPPED_DATA | 1 | powerplay_table->usStateArrayOffset | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| DATA_SOURCE | 1 | powerplay_table | r get_powerplay_table |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/processpptables.c pp_tables_initialize() -> init_thermal_controller()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.platformCaps | 4096-ptr_max |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 1 | powerplay_table | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 1 | powerplay_table | (-1),1-1000000000 |
| BUF_SIZE | 1 | powerplay_table | (-1),1-1000000000 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| DATA_SOURCE | 1 | powerplay_table | r get_powerplay_table |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c vega10_pp_tables_initialize() -> init_thermal_controller()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->backend_init | 298865806522781696,2268852976927596544,4613790147379523584,6986837916581347328,7167594031292080128,8267523205528322048 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.platformCaps | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pm_en | 1 |
| PARAM_VALUE | 0 | hwmgr->pptable | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pptable_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pptable_func->pptable_init | 1520901707310510080,3822322643030208512,4309642798966882304,4627094066790367232,9086924483460136960 |
| PARAM_VALUE | 0 | hwmgr->soft_pp_table_size | 92-u16max |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 1 | powerplay_table | 4096-ptr_max |
| PARAM_VALUE | 1 | powerplay_table->sHeader.format_revision | 8-255 |
| PARAM_VALUE | 1 | powerplay_table->sHeader.structuresize | 1-u16max |
| PARAM_VALUE | 1 | powerplay_table->usStateArrayOffset | 1-65531 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr->pptable | 232 |
| BUF_SIZE | 1 | powerplay_table | (-1),1-1000000000 |
| BUF_SIZE | 1 | powerplay_table | (-1),1-1000000000 |
| CAPPED_DATA | 1 | powerplay_table->usStateArrayOffset | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| DATA_SOURCE | 1 | powerplay_table | r get_powerplay_table |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |