Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu7_hwmgr.c smu7_calc_mm_voltage_dependency_table() -> phm_add_voltage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->backend | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.bupdate_mclk | 1 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.bupdate_sclk | 1 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.mclk_activity | 10,20,25 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.mclk_down_hyst | 16,60,100 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.mclk_up_hyst | 0,3,5,10 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.sclk_activity | 30 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.sclk_down_hyst | 100 |
| PARAM_VALUE | 0 | hwmgr->backend->disable_edc_leakage_controller | 0-1 |
| PARAM_VALUE | 0 | hwmgr->backend->dll_default_on | 0 |
| PARAM_VALUE | 0 | hwmgr->backend->enable_pkg_pwr_tracking_feature | 1 |
| PARAM_VALUE | 0 | hwmgr->backend->enable_tdc_limit_feature | 1 |
| PARAM_VALUE | 0 | hwmgr->backend->fast_watermark_threshold | 100 |
| PARAM_VALUE | 0 | hwmgr->backend->force_pcie_gen | u16max |
| PARAM_VALUE | 0 | hwmgr->backend->mclk_dpm0_activity_target | 10 |
| PARAM_VALUE | 0 | hwmgr->backend->mclk_dpm_key_disabled | 0-1 |
| PARAM_VALUE | 0 | hwmgr->backend->mvdd_control | 0-2 |
| PARAM_VALUE | 0 | hwmgr->backend->pcie_dpm_key_disabled | 0-1 |
| PARAM_VALUE | 0 | hwmgr->backend->pcie_gen_performance.min | 2 |
| PARAM_VALUE | 0 | hwmgr->backend->pcie_gen_power_saving.min | 2 |
| PARAM_VALUE | 0 | hwmgr->backend->pcie_lane_performance.min | 16 |
| PARAM_VALUE | 0 | hwmgr->backend->pcie_lane_power_saving.min | 16 |
| PARAM_VALUE | 0 | hwmgr->backend->sclk_cap | 104000,4294967295 |
| PARAM_VALUE | 0 | hwmgr->backend->sclk_dpm_key_disabled | 0-1 |
| PARAM_VALUE | 0 | hwmgr->backend->static_screen_threshold | 200 |
| PARAM_VALUE | 0 | hwmgr->backend->thermal_temp_setting.temperature_high | 95000,100000 |
| PARAM_VALUE | 0 | hwmgr->backend->thermal_temp_setting.temperature_low | 94500,99500 |
| PARAM_VALUE | 0 | hwmgr->backend->thermal_temp_setting.temperature_shutdown | 104000 |
| PARAM_VALUE | 0 | hwmgr->backend->ulv_supported | 0-1 |
| PARAM_VALUE | 0 | hwmgr->backend->vdd_gfx_control | 2 |
| PARAM_VALUE | 0 | hwmgr->backend->vddc_leakage.count | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->backend->vddc_phase_shed_control | 0-3 |
| PARAM_VALUE | 0 | hwmgr->backend->vddc_vddgfx_delta | 300 |
| PARAM_VALUE | 0 | hwmgr->backend->vddci_control | 0-2 |
| PARAM_VALUE | 0 | hwmgr->backend->vddci_leakage.count | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->backend->voltage_control | 0-2 |
| PARAM_VALUE | 0 | hwmgr->default_power_profile_mode | 1 |
| 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->power_profile_mode | 1 |
| PARAM_VALUE | 0 | hwmgr->pp_table_version | 1 |
| PARAM_VALUE | 0 | hwmgr->pptable | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pptable->vdd_dep_on_sclk->count | 0-4294967295 |
| 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->backend->vddc_leakage.actual_voltage | 1-u16max |
| PARAM_VALUE | 0 | *hwmgr->backend->vddc_leakage.leakage_id | 65281-65288 |
| PARAM_VALUE | 0 | *hwmgr->backend->vddci_leakage.actual_voltage | 1-u16max |
| PARAM_VALUE | 0 | *hwmgr->backend->vddci_leakage.leakage_id | 65281-65288 |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 2 | record | 7075729266210873344 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr->backend | 3688 |
| CAPPED_DATA | 0 | hwmgr->adev->num_ip_blocks | 1 |
| CAPPED_DATA | 0 | hwmgr->pptable->vdd_dep_on_sclk->count | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu7_hwmgr.c smu7_calc_voltage_dependency_tables() -> phm_add_voltage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->backend | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.bupdate_mclk | 1 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.bupdate_sclk | 1 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.mclk_activity | 10,20,25 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.mclk_down_hyst | 16,60,100 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.mclk_up_hyst | 0,3,5,10 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.sclk_activity | 30 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.sclk_down_hyst | 100 |
| PARAM_VALUE | 0 | hwmgr->backend->disable_edc_leakage_controller | 0-1 |
| PARAM_VALUE | 0 | hwmgr->backend->dll_default_on | 0 |
| PARAM_VALUE | 0 | hwmgr->backend->enable_pkg_pwr_tracking_feature | 1 |
| PARAM_VALUE | 0 | hwmgr->backend->enable_tdc_limit_feature | 1 |
| PARAM_VALUE | 0 | hwmgr->backend->fast_watermark_threshold | 100 |
| PARAM_VALUE | 0 | hwmgr->backend->force_pcie_gen | u16max |
| PARAM_VALUE | 0 | hwmgr->backend->mclk_dpm0_activity_target | 10 |
| PARAM_VALUE | 0 | hwmgr->backend->mclk_dpm_key_disabled | 0-1 |
| PARAM_VALUE | 0 | hwmgr->backend->mvdd_control | 0-2 |
| PARAM_VALUE | 0 | hwmgr->backend->pcie_dpm_key_disabled | 0-1 |
| PARAM_VALUE | 0 | hwmgr->backend->pcie_gen_performance.min | 2 |
| PARAM_VALUE | 0 | hwmgr->backend->pcie_gen_power_saving.min | 2 |
| PARAM_VALUE | 0 | hwmgr->backend->pcie_lane_performance.min | 16 |
| PARAM_VALUE | 0 | hwmgr->backend->pcie_lane_power_saving.min | 16 |
| PARAM_VALUE | 0 | hwmgr->backend->sclk_cap | 104000,4294967295 |
| PARAM_VALUE | 0 | hwmgr->backend->sclk_dpm_key_disabled | 0-1 |
| PARAM_VALUE | 0 | hwmgr->backend->static_screen_threshold | 200 |
| PARAM_VALUE | 0 | hwmgr->backend->thermal_temp_setting.temperature_high | 95000,100000 |
| PARAM_VALUE | 0 | hwmgr->backend->thermal_temp_setting.temperature_low | 94500,99500 |
| PARAM_VALUE | 0 | hwmgr->backend->thermal_temp_setting.temperature_shutdown | 104000 |
| PARAM_VALUE | 0 | hwmgr->backend->ulv_supported | 0-1 |
| PARAM_VALUE | 0 | hwmgr->backend->vdd_gfx_control | 2 |
| PARAM_VALUE | 0 | hwmgr->backend->vddc_leakage.count | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->backend->vddc_phase_shed_control | 0-3 |
| PARAM_VALUE | 0 | hwmgr->backend->vddc_vddgfx_delta | 300 |
| PARAM_VALUE | 0 | hwmgr->backend->vddci_control | 0-2 |
| PARAM_VALUE | 0 | hwmgr->backend->vddci_leakage.count | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->backend->voltage_control | 0-2 |
| PARAM_VALUE | 0 | hwmgr->default_power_profile_mode | 1 |
| 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->power_profile_mode | 1 |
| PARAM_VALUE | 0 | hwmgr->pp_table_version | 1 |
| PARAM_VALUE | 0 | hwmgr->pptable | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pptable->vdd_dep_on_sclk->count | 0-4294967295 |
| 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->backend->vddc_leakage.actual_voltage | 1-u16max |
| PARAM_VALUE | 0 | *hwmgr->backend->vddc_leakage.leakage_id | 65281-65288 |
| PARAM_VALUE | 0 | *hwmgr->backend->vddci_leakage.actual_voltage | 1-u16max |
| PARAM_VALUE | 0 | *hwmgr->backend->vddci_leakage.leakage_id | 65281-65288 |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 2 | record | 1927331688903655424 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr->backend | 3688 |
| CAPPED_DATA | 0 | hwmgr->adev->num_ip_blocks | 1 |
| CAPPED_DATA | 0 | hwmgr->pptable->vdd_dep_on_sclk->count | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu7_hwmgr.c smu7_calc_voltage_dependency_tables() -> phm_add_voltage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->backend | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.bupdate_mclk | 1 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.bupdate_sclk | 1 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.mclk_activity | 10,20,25 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.mclk_down_hyst | 16,60,100 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.mclk_up_hyst | 0,3,5,10 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.sclk_activity | 30 |
| PARAM_VALUE | 0 | hwmgr->backend->current_profile_setting.sclk_down_hyst | 100 |
| PARAM_VALUE | 0 | hwmgr->backend->disable_edc_leakage_controller | 0-1 |
| PARAM_VALUE | 0 | hwmgr->backend->dll_default_on | 0 |
| PARAM_VALUE | 0 | hwmgr->backend->enable_pkg_pwr_tracking_feature | 1 |
| PARAM_VALUE | 0 | hwmgr->backend->enable_tdc_limit_feature | 1 |
| PARAM_VALUE | 0 | hwmgr->backend->fast_watermark_threshold | 100 |
| PARAM_VALUE | 0 | hwmgr->backend->force_pcie_gen | u16max |
| PARAM_VALUE | 0 | hwmgr->backend->mclk_dpm0_activity_target | 10 |
| PARAM_VALUE | 0 | hwmgr->backend->mclk_dpm_key_disabled | 0-1 |
| PARAM_VALUE | 0 | hwmgr->backend->mvdd_control | 0-2 |
| PARAM_VALUE | 0 | hwmgr->backend->pcie_dpm_key_disabled | 0-1 |
| PARAM_VALUE | 0 | hwmgr->backend->pcie_gen_performance.min | 2 |
| PARAM_VALUE | 0 | hwmgr->backend->pcie_gen_power_saving.min | 2 |
| PARAM_VALUE | 0 | hwmgr->backend->pcie_lane_performance.min | 16 |
| PARAM_VALUE | 0 | hwmgr->backend->pcie_lane_power_saving.min | 16 |
| PARAM_VALUE | 0 | hwmgr->backend->sclk_cap | 104000,4294967295 |
| PARAM_VALUE | 0 | hwmgr->backend->sclk_dpm_key_disabled | 0-1 |
| PARAM_VALUE | 0 | hwmgr->backend->static_screen_threshold | 200 |
| PARAM_VALUE | 0 | hwmgr->backend->thermal_temp_setting.temperature_high | 95000,100000 |
| PARAM_VALUE | 0 | hwmgr->backend->thermal_temp_setting.temperature_low | 94500,99500 |
| PARAM_VALUE | 0 | hwmgr->backend->thermal_temp_setting.temperature_shutdown | 104000 |
| PARAM_VALUE | 0 | hwmgr->backend->ulv_supported | 0-1 |
| PARAM_VALUE | 0 | hwmgr->backend->vdd_gfx_control | 2 |
| PARAM_VALUE | 0 | hwmgr->backend->vddc_leakage.count | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->backend->vddc_phase_shed_control | 0-3 |
| PARAM_VALUE | 0 | hwmgr->backend->vddc_vddgfx_delta | 300 |
| PARAM_VALUE | 0 | hwmgr->backend->vddci_control | 0-2 |
| PARAM_VALUE | 0 | hwmgr->backend->vddci_leakage.count | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->backend->voltage_control | 0-2 |
| PARAM_VALUE | 0 | hwmgr->default_power_profile_mode | 1 |
| 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->power_profile_mode | 1 |
| PARAM_VALUE | 0 | hwmgr->pp_table_version | 1 |
| PARAM_VALUE | 0 | hwmgr->pptable | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pptable->vdd_dep_on_sclk->count | 0-4294967295 |
| 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->backend->vddc_leakage.actual_voltage | 1-u16max |
| PARAM_VALUE | 0 | *hwmgr->backend->vddc_leakage.leakage_id | 65281-65288 |
| PARAM_VALUE | 0 | *hwmgr->backend->vddci_leakage.actual_voltage | 1-u16max |
| PARAM_VALUE | 0 | *hwmgr->backend->vddci_leakage.leakage_id | 65281-65288 |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 2 | record | 1927331688903655424 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr->backend | 3688 |
| CAPPED_DATA | 0 | hwmgr->adev->num_ip_blocks | 1 |
| CAPPED_DATA | 0 | hwmgr->pptable->vdd_dep_on_sclk->count | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |