Skip to contentSkip to conversation

Add missing lines to ci_set_thermal_temperature_range

PATCH Applied Oleg Chernovskiy 2 participants 2 messages Aug 11, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing lines to ci_set_thermal_temperature_range

---
 drivers/gpu/drm/radeon/ci_dpm.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/radeon/ci_dpm.c +3 -0
index 022561e..d416bb2 100644
@@ -869,6 +869,9 @@ static int ci_set_thermal_temperature_range(struct radeon_device *rdev,
 	WREG32_SMC(CG_THERMAL_CTRL, tmp);
 #endif
 
+	rdev->pm.dpm.thermal.min_temp = low_temp;
+	rdev->pm.dpm.thermal.max_temp = high_temp;
+
 	return 0;
 }
 
Signature · 1 line
2.0.4
Applied
#1 lore raw
Quoted 1 line · Oleg Chernovskiy

Applied to my fixes tree. Thanks!

Alex

Quoted 21 lines
---
 drivers/gpu/drm/radeon/ci_dpm.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/radeon/ci_dpm.c +3 -1
index 022561e..d416bb2 100644
@@ -869,6 +869,9 @@ static int ci_set_thermal_temperature_range(struct radeon_device *rdev,
        WREG32_SMC(CG_THERMAL_CTRL, tmp);
 #endif
 
+       rdev->pm.dpm.thermal.min_temp = low_temp;
+       rdev->pm.dpm.thermal.max_temp = high_temp;
+
        return 0;
 }
 
--

2.0.4