Defined in 2 files as a function:
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c, line 515 (as a function)
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c, line 1456 (as a function)
Referenced in 2 files:
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/process_pptables_v1_0.c init_dpm_2_parameters() -> get_vddc_lookup_table()
| 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.VidMaxLimit | 1500000 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.VidMinLimit | 0 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.VidStep | 6250 |
| 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 | lookup_table | 4096-ptr_max |
| PARAM_VALUE | 1 | *lookup_table | 0 |
| PARAM_VALUE | 2 | vddc_lookup_pp_tables | 4096-ptr_max |
| PARAM_VALUE | 2 | vddc_lookup_pp_tables->ucNumEntries | 1-16 |
| PARAM_VALUE | 3 | max_levels | 16 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr->pptable | 192 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/process_pptables_v1_0.c init_dpm_2_parameters() -> get_vddc_lookup_table()
| 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.VidMaxLimit | 1500000 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.VidMinLimit | 0 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.VidStep | 6250 |
| 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 | lookup_table | 4096-ptr_max |
| PARAM_VALUE | 1 | *lookup_table | 0 |
| PARAM_VALUE | 2 | vddc_lookup_pp_tables | 4096-ptr_max |
| PARAM_VALUE | 2 | vddc_lookup_pp_tables->ucNumEntries | 1-16 |
| PARAM_VALUE | 3 | max_levels | 16 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr->pptable | 192 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| 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 init_dpm_2_parameters() -> get_vddc_lookup_table()
| 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.VidMaxLimit | 1500000 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.VidMinLimit | 0 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.VidStep | 6250 |
| 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 | lookup_table | 4096-ptr_max |
| PARAM_VALUE | 1 | *lookup_table | 0 |
| PARAM_VALUE | 2 | vddc_lookup_pp_tables | 4096-ptr_max |
| PARAM_VALUE | 2 | vddc_lookup_pp_tables->ucNumEntries | 1-8 |
| PARAM_VALUE | 3 | max_levels | 8 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr->pptable | 232 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| 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 init_dpm_2_parameters() -> get_vddc_lookup_table()
| 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.VidMaxLimit | 1500000 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.VidMinLimit | 0 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.VidStep | 6250 |
| 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 | lookup_table | 4096-ptr_max |
| PARAM_VALUE | 1 | *lookup_table | 0 |
| PARAM_VALUE | 2 | vddc_lookup_pp_tables | 4096-ptr_max |
| PARAM_VALUE | 2 | vddc_lookup_pp_tables->ucNumEntries | 1-8 |
| PARAM_VALUE | 3 | max_levels | 4 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr->pptable | 232 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| 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 init_dpm_2_parameters() -> get_vddc_lookup_table()
| 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.VidMaxLimit | 1500000 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.VidMinLimit | 0 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.VidStep | 6250 |
| 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 | lookup_table | 4096-ptr_max |
| PARAM_VALUE | 1 | *lookup_table | 0 |
| PARAM_VALUE | 2 | vddc_lookup_pp_tables | 4096-ptr_max |
| PARAM_VALUE | 2 | vddc_lookup_pp_tables->ucNumEntries | 1-8 |
| PARAM_VALUE | 3 | max_levels | 4 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr->pptable | 232 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |