/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_r600_dpm.c | 748 int high_temp = 255 * 1000; local in function:r600_set_thermal_temperature_range 752 if (high_temp > max_temp) 753 high_temp = max_temp; 754 if (high_temp < low_temp) { 755 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 759 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); 761 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); 764 rdev->pm.dpm.thermal.max_temp = high_temp;
|
radeon_kv_dpm.c | 2463 int high_temp = 255 * 1000; local in function:kv_set_thermal_temperature_range 2468 if (high_temp > max_temp) 2469 high_temp = max_temp; 2470 if (high_temp < low_temp) { 2471 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 2477 tmp |= (DIG_THERM_INTH(49 + (high_temp / 1000)) | 2482 rdev->pm.dpm.thermal.max_temp = high_temp;
|
radeon_rv770_dpm.c | 1877 int high_temp = 255 * 1000; local in function:rv770_set_thermal_temperature_range 1881 if (high_temp > max_temp) 1882 high_temp = max_temp; 1883 if (high_temp < low_temp) { 1884 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 1888 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); 1890 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); 1893 rdev->pm.dpm.thermal.max_temp = high_temp;
|
radeon_sumo_dpm.c | 1165 int high_temp = 255 * 1000; local in function:sumo_set_thermal_temperature_range 1169 if (high_temp > max_temp) 1170 high_temp = max_temp; 1171 if (high_temp < low_temp) { 1172 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 1176 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(49 + (high_temp / 1000)), ~DIG_THERM_INTH_MASK); 1180 rdev->pm.dpm.thermal.max_temp = high_temp;
|
radeon_trinity_dpm.c | 1052 int high_temp = 255 * 1000; local in function:trinity_set_thermal_temperature_range 1056 if (high_temp > max_temp) 1057 high_temp = max_temp; 1058 if (high_temp < low_temp) { 1059 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 1063 WREG32_P(CG_THERMAL_INT_CTRL, DIG_THERM_INTH(49 + (high_temp / 1000)), ~DIG_THERM_INTH_MASK); 1067 rdev->pm.dpm.thermal.max_temp = high_temp;
|
radeon_ci_dpm.c | 878 int high_temp = 255 * 1000; local in function:ci_thermal_set_temperature_range 883 if (high_temp > max_temp) 884 high_temp = max_temp; 885 if (high_temp < low_temp) { 886 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 892 tmp |= CI_DIG_THERM_INTH(high_temp / 1000) | 900 tmp |= DIG_THERM_DPM(high_temp / 1000); 905 rdev->pm.dpm.thermal.max_temp = high_temp;
|
radeon_si_dpm.c | 5990 int high_temp = 255 * 1000; local in function:si_thermal_set_temperature_range 5994 if (high_temp > max_temp) 5995 high_temp = max_temp; 5996 if (high_temp < low_temp) { 5997 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 6001 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); 6003 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); 6006 rdev->pm.dpm.thermal.max_temp = high_temp;
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_kv_dpm.c | 2530 int high_temp = 255 * 1000; local in function:kv_set_thermal_temperature_range 2535 if (high_temp > max_temp) 2536 high_temp = max_temp; 2537 if (high_temp < low_temp) { 2538 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 2545 tmp |= ((49 + (high_temp / 1000)) << CG_THERMAL_INT_CTRL__DIG_THERM_INTH__SHIFT) | 2550 adev->pm.dpm.thermal.max_temp = high_temp;
|
amdgpu_si_dpm.c | 6427 int high_temp = 255 * 1000; local in function:si_thermal_set_temperature_range 6431 if (high_temp > max_temp) 6432 high_temp = max_temp; 6433 if (high_temp < low_temp) { 6434 DRM_ERROR("invalid thermal range: %d - %d\n", low_temp, high_temp); 6438 WREG32_P(CG_THERMAL_INT, DIG_THERM_INTH(high_temp / 1000), ~DIG_THERM_INTH_MASK); 6440 WREG32_P(CG_THERMAL_CTRL, DIG_THERM_DPM(high_temp / 1000), ~DIG_THERM_DPM_MASK); 6443 adev->pm.dpm.thermal.max_temp = high_temp;
|