Documented in 1 files:
Defined in 2 files as a function:
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c, line 614 (as a function)
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c, line 1493 (as a function)
Referenced in 2 files:
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c, line 1637
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c, line 1631
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/process_pptables_v1_0.c pp_tables_v1_0_initialize() -> init_dpm_2_parameters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->dyn_state.cac_dtp_table | 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->cac_dtp_table->usBoostPowerLimit | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->pptable->max_clock_voltage_on_dc.mclk | 0-4294967295 |
| PARAM_VALUE | 0 | hwmgr->pptable->max_clock_voltage_on_dc.sclk | 0-4294967295 |
| PARAM_VALUE | 0 | hwmgr->pptable->max_clock_voltage_on_dc.vddc | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->pptable->max_clock_voltage_on_dc.vddci | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->pptable->max_clock_voltage_on_dc.vddgfx | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->pptable->mm_dep_table->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->pcie_table->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->valid_mclk_values->count | 1-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->valid_sclk_values->count | 1-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->vdd_dep_on_mclk->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->vdd_dep_on_sclk->count | 0-255 |
| 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->usMMDependencyTableOffset |
| 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/vega10_processpptables.c vega10_pp_tables_initialize() -> init_dpm_2_parameters()
| 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->max_clock_voltage_on_dc.gfxclk | 0-4294967295 |
| PARAM_VALUE | 0 | hwmgr->pptable->max_clock_voltage_on_dc.mclk | 0-4294967295 |
| PARAM_VALUE | 0 | hwmgr->pptable->max_clock_voltage_on_dc.sclk | 0-4294967295 |
| PARAM_VALUE | 0 | hwmgr->pptable->max_clock_voltage_on_dc.vddc | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->pptable->max_clock_voltage_on_dc.vddci | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->pptable->max_clock_voltage_on_dc.vddmem | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->pptable->mm_dep_table->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->pcie_table->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->valid_dcefclk_values->count | 1-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->valid_mclk_values->count | 1-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->valid_sclk_values->count | 1-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->valid_socclk_values->count | 1-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->vdd_dep_on_dcefclk->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->vdd_dep_on_dispclk->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->vdd_dep_on_mclk->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->vdd_dep_on_phyclk->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->vdd_dep_on_pixclk->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->vdd_dep_on_sclk->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->pptable->vdd_dep_on_socclk->count | 0-255 |
| 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->thermal_controller.advanceFanControlParameters.ulCycleDelay | 100000 |
| 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.format_revision | 8-255 |
| PARAM_VALUE | 1 | powerplay_table->sHeader.structuresize | 1-u16max |
| PARAM_VALUE | 1 | powerplay_table->usGfxclkDependencyTableOffset | 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 | 232 |
| 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->usGfxclkDependencyTableOffset | 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->usGfxclkDependencyTableOffset |
| PARAM_COMPARE | 0 | hwmgr->soft_pp_table_size | >= $1->usMMDependencyTableOffset |
| PARAM_COMPARE | 0 | hwmgr->soft_pp_table_size | >= $1->usThermalControllerOffset |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | powerplay_table | unit_byte |
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |