[3.13.y.z extended stable] Patch "drm/radeon: Add missing lines to ci_set_thermal_temperature_range" has been added to staging queue

Kamal Mostafa kamal at canonical.com
Tue Sep 30 21:29:24 UTC 2014


This is a note to let you know that I have just added a patch titled

    drm/radeon: Add missing lines to ci_set_thermal_temperature_range

to the linux-3.13.y-queue branch of the 3.13.y.z extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.13.y-queue

This patch is scheduled to be released in version 3.13.11.8.

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.13.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Kamal

------

>From fab62f0ad0b66af3ff7b5df9bae5313bbda3833f Mon Sep 17 00:00:00 2001
From: Oleg Chernovskiy <algonkvel at gmail.com>
Date: Mon, 11 Aug 2014 21:53:46 +0400
Subject: drm/radeon: Add missing lines to ci_set_thermal_temperature_range

commit 6bce8d9772c1c606921a9c99e566eb14202f6669 upstream.

Properly set the thermal min and max temp on CI.
Otherwise, we end up setting the thermal ranges
to 0 on resume and end up in the lowest power state.

Signed-off-by: Oleg Chernovskiy <algonkvel at gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
 drivers/gpu/drm/radeon/ci_dpm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/radeon/ci_dpm.c b/drivers/gpu/drm/radeon/ci_dpm.c
index 8bfab60..9c769f7 100644
--- a/drivers/gpu/drm/radeon/ci_dpm.c
+++ b/drivers/gpu/drm/radeon/ci_dpm.c
@@ -852,6 +852,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;
 }

--
1.9.1





More information about the kernel-team mailing list