/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | vega10_thermal.c | 42 if (hwmgr->thermal_controller.fanInfo.bNoFan) in vega10_fan_ctrl_get_fan_speed_info() 51 hwmgr->thermal_controller.fanInfo. in vega10_fan_ctrl_get_fan_speed_info() 56 hwmgr->thermal_controller.fanInfo.ulMinRPM; in vega10_fan_ctrl_get_fan_speed_info() 58 hwmgr->thermal_controller.fanInfo.ulMaxRPM; in vega10_fan_ctrl_get_fan_speed_info() 73 if (hwmgr->thermal_controller.fanInfo.bNoFan) in vega10_fan_ctrl_get_fan_speed_percent() 79 if (hwmgr->thermal_controller. in vega10_fan_ctrl_get_fan_speed_percent() 82 hwmgr->thermal_controller. in vega10_fan_ctrl_get_fan_speed_percent() 98 if (hwmgr->thermal_controller.fanInfo.bNoFan) in vega10_fan_ctrl_get_fan_speed_rpm() 218 if (hwmgr->thermal_controller.fanInfo.bNoFan) in vega10_fan_ctrl_start_smc_fan_control() 233 if (hwmgr->thermal_controller.fanInfo.bNoFan) in vega10_fan_ctrl_stop_smc_fan_control() [all …]
|
D | smu7_thermal.c | 32 if (hwmgr->thermal_controller.fanInfo.bNoFan) in smu7_fan_ctrl_get_fan_speed_info() 41 hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution) { in smu7_fan_ctrl_get_fan_speed_info() 44 fan_speed_info->min_rpm = hwmgr->thermal_controller.fanInfo.ulMinRPM; in smu7_fan_ctrl_get_fan_speed_info() 45 fan_speed_info->max_rpm = hwmgr->thermal_controller.fanInfo.ulMaxRPM; in smu7_fan_ctrl_get_fan_speed_info() 61 if (hwmgr->thermal_controller.fanInfo.bNoFan) in smu7_fan_ctrl_get_fan_speed_percent() 88 if (hwmgr->thermal_controller.fanInfo.bNoFan || in smu7_fan_ctrl_get_fan_speed_rpm() 89 !hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution) in smu7_fan_ctrl_get_fan_speed_rpm() 159 hwmgr->thermal_controller. in smu7_fan_ctrl_start_smc_fan_control() 163 hwmgr->thermal_controller. in smu7_fan_ctrl_start_smc_fan_control() 171 if (!result && hwmgr->thermal_controller. in smu7_fan_ctrl_start_smc_fan_control() [all …]
|
D | process_pptables_v1_0.c | 889 ATOM_Tonga_Thermal_Controller *thermal_controller; in init_thermal_controller() local 891 thermal_controller = (ATOM_Tonga_Thermal_Controller *) in init_thermal_controller() 897 hwmgr->thermal_controller.ucType = thermal_controller->ucType; in init_thermal_controller() 898 hwmgr->thermal_controller.ucI2cLine = thermal_controller->ucI2cLine; in init_thermal_controller() 899 hwmgr->thermal_controller.ucI2cAddress = thermal_controller->ucI2cAddress; in init_thermal_controller() 901 hwmgr->thermal_controller.fanInfo.bNoFan = in init_thermal_controller() 902 (0 != (thermal_controller->ucFanParameters & ATOM_TONGA_PP_FANPARAMETERS_NOFAN)); in init_thermal_controller() 904 hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution = in init_thermal_controller() 905 thermal_controller->ucFanParameters & in init_thermal_controller() 908 hwmgr->thermal_controller.fanInfo.ulMinRPM in init_thermal_controller() [all …]
|
D | vega10_processpptables.c | 121 const ATOM_Vega10_Thermal_Controller *thermal_controller; in init_thermal_controller() local 126 thermal_controller = (ATOM_Vega10_Thermal_Controller *) in init_thermal_controller() 133 hwmgr->thermal_controller.ucType = thermal_controller->ucType; in init_thermal_controller() 134 hwmgr->thermal_controller.ucI2cLine = thermal_controller->ucI2cLine; in init_thermal_controller() 135 hwmgr->thermal_controller.ucI2cAddress = thermal_controller->ucI2cAddress; in init_thermal_controller() 137 hwmgr->thermal_controller.fanInfo.bNoFan = in init_thermal_controller() 138 (0 != (thermal_controller->ucFanParameters & in init_thermal_controller() 141 hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution = in init_thermal_controller() 142 thermal_controller->ucFanParameters & in init_thermal_controller() 145 hwmgr->thermal_controller.fanInfo.ulMinRPM = in init_thermal_controller() [all …]
|
D | vega12_processpptables.c | 244 hwmgr->thermal_controller.ucType = powerplay_table->ucThermalControllerType; in init_powerplay_table_information() 248 ATOM_VEGA12_PP_THERMALCONTROLLER_NONE != hwmgr->thermal_controller.ucType, in init_powerplay_table_information()
|
D | smu7_hwmgr.c | 2182 hwmgr->thermal_controller.advanceFanControlParameters.ucFanControlMode) { in smu7_thermal_parameter_init() 2183 hwmgr->thermal_controller.advanceFanControlParameters.usFanPWMMinLimit = in smu7_thermal_parameter_init() 2184 (uint16_t)hwmgr->thermal_controller.advanceFanControlParameters.ucMinimumPWMLimit; in smu7_thermal_parameter_init() 2186 hwmgr->thermal_controller.advanceFanControlParameters.usFanPWMMaxLimit = in smu7_thermal_parameter_init() 2187 (uint16_t)hwmgr->thermal_controller.advanceFanControlParameters.usDefaultMaxFanPWM; in smu7_thermal_parameter_init() 2189 hwmgr->thermal_controller.advanceFanControlParameters.usFanPWMStep = 1; in smu7_thermal_parameter_init() 2191 hwmgr->thermal_controller.advanceFanControlParameters.usFanRPMMaxLimit = 100; in smu7_thermal_parameter_init() 2193 hwmgr->thermal_controller.advanceFanControlParameters.usFanRPMMinLimit = in smu7_thermal_parameter_init() 2194 (uint16_t)hwmgr->thermal_controller.advanceFanControlParameters.ucMinimumPWMLimit; in smu7_thermal_parameter_init() 2196 hwmgr->thermal_controller.advanceFanControlParameters.usFanRPMStep = 1; in smu7_thermal_parameter_init() [all …]
|
D | vega12_hwmgr.c | 189 && hwmgr->thermal_controller.advanceFanControlParameters.usTMax) in vega12_set_features_platform_caps() 417 hwmgr->thermal_controller.advanceFanControlParameters.usMaxFanRPM; in vega12_hwmgr_backend_init() 419 hwmgr->thermal_controller.advanceFanControlParameters.ucTargetTemperature; in vega12_hwmgr_backend_init() 421 hwmgr->thermal_controller.advanceFanControlParameters.ulMinFanSCLKAcousticLimit; in vega12_hwmgr_backend_init() 423 hwmgr->thermal_controller.advanceFanControlParameters.usFanPWMMinLimit * in vega12_hwmgr_backend_init() 424 hwmgr->thermal_controller.fanInfo.ulMaxRPM / 100; in vega12_hwmgr_backend_init()
|
D | hwmgr.c | 233 hwmgr->thermal_controller.fanInfo.bNoFan; in hwmgr_hw_init()
|
D | vega10_hwmgr.c | 891 hwmgr->thermal_controller.advanceFanControlParameters.usMaxFanRPM; in vega10_hwmgr_backend_init() 893 hwmgr->thermal_controller. in vega10_hwmgr_backend_init() 896 hwmgr->thermal_controller.advanceFanControlParameters. in vega10_hwmgr_backend_init() 899 hwmgr->thermal_controller. in vega10_hwmgr_backend_init() 901 hwmgr->thermal_controller.fanInfo.ulMaxRPM / 100; in vega10_hwmgr_backend_init()
|
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | fiji_smumgr.c | 508 &hwmgr->thermal_controller.advanceFanControlParameters; in fiji_populate_bapm_parameters_in_dpm_table() 655 if ((hwmgr->thermal_controller.advanceFanControlParameters. in fiji_populate_fuzzy_fan() 657 0 == hwmgr->thermal_controller.advanceFanControlParameters. in fiji_populate_fuzzy_fan() 659 hwmgr->thermal_controller.advanceFanControlParameters. in fiji_populate_fuzzy_fan() 660 usFanOutputSensitivity = hwmgr->thermal_controller. in fiji_populate_fuzzy_fan() 664 PP_HOST_TO_SMC_US(hwmgr->thermal_controller. in fiji_populate_fuzzy_fan() 2154 if (hwmgr->thermal_controller.fanInfo.bNoFan) { in fiji_thermal_setup_fan_table() 2175 tmp64 = hwmgr->thermal_controller.advanceFanControlParameters. in fiji_thermal_setup_fan_table() 2180 t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed - in fiji_thermal_setup_fan_table() 2181 hwmgr->thermal_controller.advanceFanControlParameters.usTMin; in fiji_thermal_setup_fan_table() [all …]
|
D | polaris10_smumgr.c | 433 &hwmgr->thermal_controller.advanceFanControlParameters; in polaris10_populate_bapm_parameters_in_dpm_table() 543 if ((hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity & (1 << 15)) in polaris10_populate_fuzzy_fan() 544 || 0 == hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity) in polaris10_populate_fuzzy_fan() 545 hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity = in polaris10_populate_fuzzy_fan() 546 hwmgr->thermal_controller.advanceFanControlParameters.usDefaultFanOutputSensitivity; in polaris10_populate_fuzzy_fan() 549 hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity); in polaris10_populate_fuzzy_fan() 2001 if (hwmgr->thermal_controller.fanInfo.bNoFan) { in polaris10_thermal_setup_fan_table() 2022 tmp64 = hwmgr->thermal_controller.advanceFanControlParameters. in polaris10_thermal_setup_fan_table() 2027 t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed - in polaris10_thermal_setup_fan_table() 2028 hwmgr->thermal_controller.advanceFanControlParameters.usTMin; in polaris10_thermal_setup_fan_table() [all …]
|
D | tonga_smumgr.c | 1936 if ((hwmgr->thermal_controller.advanceFanControlParameters. in tonga_populate_fuzzy_fan() 1938 (hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity == 0)) in tonga_populate_fuzzy_fan() 1939 hwmgr->thermal_controller.advanceFanControlParameters. in tonga_populate_fuzzy_fan() 1940 usFanOutputSensitivity = hwmgr->thermal_controller. in tonga_populate_fuzzy_fan() 1944 PP_HOST_TO_SMC_US(hwmgr->thermal_controller. in tonga_populate_fuzzy_fan() 2465 if (hwmgr->thermal_controller.fanInfo.bNoFan) { in tonga_thermal_setup_fan_table() 2487 tmp64 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMin * duty100; in tonga_thermal_setup_fan_table() 2491 t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed - in tonga_thermal_setup_fan_table() 2492 hwmgr->thermal_controller.advanceFanControlParameters.usTMin; in tonga_thermal_setup_fan_table() 2493 t_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usTHigh - in tonga_thermal_setup_fan_table() [all …]
|
D | ci_smumgr.c | 563 if ((hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity & (1 << 15)) in ci_populate_fuzzy_fan() 564 || 0 == hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity) in ci_populate_fuzzy_fan() 565 tmp = hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity; in ci_populate_fuzzy_fan() 567 tmp = hwmgr->thermal_controller.advanceFanControlParameters.usDefaultFanOutputSensitivity; in ci_populate_fuzzy_fan() 2135 if (hwmgr->thermal_controller.fanInfo.bNoFan) { in ci_thermal_setup_fan_table() 2153 tmp64 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMin * duty100; in ci_thermal_setup_fan_table() 2157 …t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed - hwmgr->thermal_controller… in ci_thermal_setup_fan_table() 2158 …t_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usTHigh - hwmgr->thermal_controlle… in ci_thermal_setup_fan_table() 2160 …pwm_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMed - hwmgr->thermal_contro… in ci_thermal_setup_fan_table() 2161 …pwm_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMHigh - hwmgr->thermal_contr… in ci_thermal_setup_fan_table() [all …]
|
D | iceland_smumgr.c | 2098 if (hwmgr->thermal_controller.fanInfo.bNoFan) { in iceland_thermal_setup_fan_table() 2116 tmp64 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMin * duty100; in iceland_thermal_setup_fan_table() 2120 …t_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usTMed - hwmgr->thermal_controller… in iceland_thermal_setup_fan_table() 2121 …t_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usTHigh - hwmgr->thermal_controlle… in iceland_thermal_setup_fan_table() 2123 …pwm_diff1 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMed - hwmgr->thermal_contro… in iceland_thermal_setup_fan_table() 2124 …pwm_diff2 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMHigh - hwmgr->thermal_contr… in iceland_thermal_setup_fan_table() 2129 …fan_table.TempMin = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMin… in iceland_thermal_setup_fan_table() 2130 …fan_table.TempMed = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMed… in iceland_thermal_setup_fan_table() 2131 …fan_table.TempMax = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMax… in iceland_thermal_setup_fan_table() 2138 fan_table.HystDown = cpu_to_be16(hwmgr->thermal_controller.advanceFanControlParameters.ucTHyst); in iceland_thermal_setup_fan_table() [all …]
|
D | vegam_smumgr.c | 1452 &hwmgr->thermal_controller.advanceFanControlParameters; in vegam_populate_bapm_parameters_in_dpm_table() 1809 if ((hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity & (1 << 15)) in vegam_populate_fuzzy_fan() 1810 || 0 == hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity) in vegam_populate_fuzzy_fan() 1811 hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity = in vegam_populate_fuzzy_fan() 1812 hwmgr->thermal_controller.advanceFanControlParameters.usDefaultFanOutputSensitivity; in vegam_populate_fuzzy_fan() 1815 hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity); in vegam_populate_fuzzy_fan() 2269 PP_ASSERT_WITH_CODE(hwmgr->thermal_controller.fanInfo.bNoFan, in vegam_thermal_setup_fan_table()
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | radeon_combios.c | 2664 u8 thermal_controller = 0, gpio = 0, i2c_addr = 0, clk_bit = 0, data_bit = 0; in radeon_combios_get_power_modes() local 2669 thermal_controller = RBIOS8(offset + 3); in radeon_combios_get_power_modes() 2673 thermal_controller = RBIOS8(offset + 4); in radeon_combios_get_power_modes() 2677 thermal_controller = RBIOS8(offset + 4); in radeon_combios_get_power_modes() 2683 if ((thermal_controller > 0) && (thermal_controller < 3)) { in radeon_combios_get_power_modes() 2685 thermal_controller_names[thermal_controller], in radeon_combios_get_power_modes() 2700 const char *name = thermal_controller_names[thermal_controller]; in radeon_combios_get_power_modes()
|
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/inc/ |
D | hwmgr.h | 743 struct pp_thermal_controller_info thermal_controller; member
|