/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega12_processpptables.c | 195 struct phm_ppt_v3_information *pptable_information = in init_powerplay_table_information() local 201 pptable_information->uc_thermal_controller_type = powerplay_table->ucThermalControllerType; in init_powerplay_table_information() 218 &pptable_information->od_settings_max, in init_powerplay_table_information() 222 &pptable_information->od_settings_min, in init_powerplay_table_information() 234 pptable_information->us_small_power_limit1 = le16_to_cpu(powerplay_table->usSmallPowerLimit1); in init_powerplay_table_information() 235 pptable_information->us_small_power_limit2 = le16_to_cpu(powerplay_table->usSmallPowerLimit2); in init_powerplay_table_information() 236 pptable_information->us_boost_power_limit = le16_to_cpu(powerplay_table->usBoostPowerLimit); in init_powerplay_table_information() 237 pptable_information->us_od_turbo_power_limit = le16_to_cpu(powerplay_table->usODTurboPowerLimit); in init_powerplay_table_information() 238 pptable_information->us_od_powersave_power_limit = le16_to_cpu(powerplay_table->usODPowerSavePowerLimit); in init_powerplay_table_information() 240 pptable_information in init_powerplay_table_information() [all...] |
H A D | vega20_processpptables.c | 805 struct phm_ppt_v3_information *pptable_information = in override_powerplay_table_fantargettemperature() local 807 PPTable_t *ppsmc_pptable = (PPTable_t *)(pptable_information->smc_pptable); in override_powerplay_table_fantargettemperature() 819 struct phm_ppt_v3_information *pptable_information = in init_powerplay_table_information() local 826 pptable_information->uc_thermal_controller_type = powerplay_table->ucThermalControllerType; in init_powerplay_table_information() 849 &pptable_information->od_feature_capabilities, in init_powerplay_table_information() 853 &pptable_information->od_settings_max, in init_powerplay_table_information() 857 &pptable_information->od_settings_min, in init_powerplay_table_information() 862 pptable_information->us_small_power_limit1 = le16_to_cpu(powerplay_table->usSmallPowerLimit1); in init_powerplay_table_information() 863 pptable_information->us_small_power_limit2 = le16_to_cpu(powerplay_table->usSmallPowerLimit2); in init_powerplay_table_information() 864 pptable_information in init_powerplay_table_information() [all...] |
H A D | vega12_thermal.c | 173 struct phm_ppt_v3_information *pptable_information = in vega12_thermal_set_temperature_range() local 183 if (high > pptable_information->us_software_shutdown_temp) in vega12_thermal_set_temperature_range() 184 high = pptable_information->us_software_shutdown_temp; in vega12_thermal_set_temperature_range()
|
H A D | vega20_hwmgr.c | 788 struct phm_ppt_v3_information *pptable_information = in vega20_init_smc_table() local 814 memcpy(pp_table, pptable_information->smc_pptable, sizeof(PPTable_t)); in vega20_init_smc_table() 1041 struct phm_ppt_v3_information *pptable_information = in vega20_od8_set_feature_capabilities() local 1050 if (pptable_information->od_feature_capabilities[ATOM_VEGA20_ODFEATURE_GFXCLK_LIMITS] && in vega20_od8_set_feature_capabilities() 1051 pptable_information->od_settings_max[OD8_SETTING_GFXCLK_FMAX] > 0 && in vega20_od8_set_feature_capabilities() 1052 pptable_information->od_settings_min[OD8_SETTING_GFXCLK_FMIN] > 0 && in vega20_od8_set_feature_capabilities() 1053 (pptable_information->od_settings_max[OD8_SETTING_GFXCLK_FMAX] >= in vega20_od8_set_feature_capabilities() 1054 pptable_information->od_settings_min[OD8_SETTING_GFXCLK_FMIN])) in vega20_od8_set_feature_capabilities() 1057 if (pptable_information->od_feature_capabilities[ATOM_VEGA20_ODFEATURE_GFXCLK_CURVE] && in vega20_od8_set_feature_capabilities() 1058 (pptable_information in vega20_od8_set_feature_capabilities() 1241 struct phm_ppt_v3_information *pptable_information = vega20_od8_initialize_default_settings() local [all...] |
H A D | vega20_thermal.c | 243 struct phm_ppt_v3_information *pptable_information = in vega20_thermal_set_temperature_range() local 253 if (high > pptable_information->us_software_shutdown_temp) in vega20_thermal_set_temperature_range() 254 high = pptable_information->us_software_shutdown_temp; in vega20_thermal_set_temperature_range()
|
H A D | vega12_hwmgr.c | 819 struct phm_ppt_v3_information *pptable_information = in vega12_init_smc_table() local 841 memcpy(pp_table, pptable_information->smc_pptable, sizeof(PPTable_t)); in vega12_init_smc_table()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega12_processpptables.c | 194 struct phm_ppt_v3_information *pptable_information = in init_powerplay_table_information() local 199 pptable_information->uc_thermal_controller_type = powerplay_table->ucThermalControllerType; in init_powerplay_table_information() 216 &pptable_information->od_settings_max, in init_powerplay_table_information() 220 &pptable_information->od_settings_min, in init_powerplay_table_information() 232 pptable_information->us_small_power_limit1 = le16_to_cpu(powerplay_table->usSmallPowerLimit1); in init_powerplay_table_information() 233 pptable_information->us_small_power_limit2 = le16_to_cpu(powerplay_table->usSmallPowerLimit2); in init_powerplay_table_information() 234 pptable_information->us_boost_power_limit = le16_to_cpu(powerplay_table->usBoostPowerLimit); in init_powerplay_table_information() 235 pptable_information->us_od_turbo_power_limit = le16_to_cpu(powerplay_table->usODTurboPowerLimit); in init_powerplay_table_information() 236 pptable_information->us_od_powersave_power_limit = le16_to_cpu(powerplay_table->usODPowerSavePowerLimit); in init_powerplay_table_information() 238 pptable_information in init_powerplay_table_information() [all...] |
H A D | vega20_processpptables.c | 804 struct phm_ppt_v3_information *pptable_information = in override_powerplay_table_fantargettemperature() local 806 PPTable_t *ppsmc_pptable = (PPTable_t *)(pptable_information->smc_pptable); in override_powerplay_table_fantargettemperature() 818 struct phm_ppt_v3_information *pptable_information = in init_powerplay_table_information() local 825 pptable_information->uc_thermal_controller_type = powerplay_table->ucThermalControllerType; in init_powerplay_table_information() 848 &pptable_information->od_feature_capabilities, in init_powerplay_table_information() 852 &pptable_information->od_settings_max, in init_powerplay_table_information() 856 &pptable_information->od_settings_min, in init_powerplay_table_information() 861 pptable_information->us_small_power_limit1 = le16_to_cpu(powerplay_table->usSmallPowerLimit1); in init_powerplay_table_information() 862 pptable_information->us_small_power_limit2 = le16_to_cpu(powerplay_table->usSmallPowerLimit2); in init_powerplay_table_information() 863 pptable_information in init_powerplay_table_information() [all...] |
H A D | vega12_thermal.c | 173 struct phm_ppt_v3_information *pptable_information = in vega12_thermal_set_temperature_range() local 183 if (high > pptable_information->us_software_shutdown_temp) in vega12_thermal_set_temperature_range() 184 high = pptable_information->us_software_shutdown_temp; in vega12_thermal_set_temperature_range()
|
H A D | vega20_hwmgr.c | 786 struct phm_ppt_v3_information *pptable_information = in vega20_init_smc_table() local 812 memcpy(pp_table, pptable_information->smc_pptable, sizeof(PPTable_t)); in vega20_init_smc_table() 1039 struct phm_ppt_v3_information *pptable_information = in vega20_od8_set_feature_capabilities() local 1048 if (pptable_information->od_feature_capabilities[ATOM_VEGA20_ODFEATURE_GFXCLK_LIMITS] && in vega20_od8_set_feature_capabilities() 1049 pptable_information->od_settings_max[OD8_SETTING_GFXCLK_FMAX] > 0 && in vega20_od8_set_feature_capabilities() 1050 pptable_information->od_settings_min[OD8_SETTING_GFXCLK_FMIN] > 0 && in vega20_od8_set_feature_capabilities() 1051 (pptable_information->od_settings_max[OD8_SETTING_GFXCLK_FMAX] >= in vega20_od8_set_feature_capabilities() 1052 pptable_information->od_settings_min[OD8_SETTING_GFXCLK_FMIN])) in vega20_od8_set_feature_capabilities() 1055 if (pptable_information->od_feature_capabilities[ATOM_VEGA20_ODFEATURE_GFXCLK_CURVE] && in vega20_od8_set_feature_capabilities() 1056 (pptable_information in vega20_od8_set_feature_capabilities() 1239 struct phm_ppt_v3_information *pptable_information = vega20_od8_initialize_default_settings() local 4217 struct phm_ppt_v3_information *pptable_information = vega20_get_thermal_temperature_range() local [all...] |
H A D | vega20_thermal.c | 244 struct phm_ppt_v3_information *pptable_information = in vega20_thermal_set_temperature_range() local 254 if (high > pptable_information->us_software_shutdown_temp) in vega20_thermal_set_temperature_range() 255 high = pptable_information->us_software_shutdown_temp; in vega20_thermal_set_temperature_range()
|
H A D | vega12_hwmgr.c | 817 struct phm_ppt_v3_information *pptable_information = in vega12_init_smc_table() local 839 memcpy(pp_table, pptable_information->smc_pptable, sizeof(PPTable_t)); in vega12_init_smc_table() 2766 struct phm_ppt_v3_information *pptable_information = in vega12_get_thermal_temperature_range() local 2786 thermal_data->sw_ctf_threshold = pptable_information->us_software_shutdown_temp * in vega12_get_thermal_temperature_range()
|