Documented in 1 files:
Defined in 2 files as a function:
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c, line 1197 (as a function)
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c, line 1442 (as a function)
Referenced in 2 files:
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c, line 1632
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c, line 1911
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/process_pptables_v1_0.c pp_tables_v1_0_initialize() -> init_clock_voltage_dependency()
| 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->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution | 0-15 |
| 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 |
| PARAM_VALUE | 1 | powerplay_table->usThermalControllerOffset | 1-u16max |
| 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 | 0 | hwmgr->soft_pp_table_size | 1 |
| CAPPED_DATA | 1 | powerplay_table->usStateArrayOffset | 1 |
| CAPPED_DATA | 1 | powerplay_table->usThermalControllerOffset | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| DATA_SOURCE | 1 | powerplay_table | r get_powerplay_table |
| PARAM_COMPARE | 0 | hwmgr->soft_pp_table_size | >= $1->usThermalControllerOffset |
| 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_clock_voltage_dependency()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->chip_id | 0-21,23-u32max |
| 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->need_pp_table_upload | 1 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.maxOverdriveVDDC | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.minOverdriveVDDC | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.platformCaps | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pm_en | 1 |
| 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 | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution | 0-15 |
| 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 |