diff mbox

Add missing lines to ci_set_thermal_temperature_range

Message ID 1407779626-3871-1-git-send-email-algonkvel@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

?????? ?????? Aug. 11, 2014, 5:53 p.m. UTC
Signed-off-by: Oleg Chernovskiy <algonkvel@gmail.com>
---
 drivers/gpu/drm/radeon/ci_dpm.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Alex Deucher Aug. 11, 2014, 6:59 p.m. UTC | #1
On Mon, Aug 11, 2014 at 1:53 PM, Oleg Chernovskiy <algonkvel@gmail.com> wrote:
> Signed-off-by: Oleg Chernovskiy <algonkvel@gmail.com>

Applied to my fixes tree.  Thanks!

Alex

> ---
>  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 022561e..d416bb2 100644
> --- a/drivers/gpu/drm/radeon/ci_dpm.c
> +++ b/drivers/gpu/drm/radeon/ci_dpm.c
> @@ -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
>
diff mbox

Patch

diff --git a/drivers/gpu/drm/radeon/ci_dpm.c b/drivers/gpu/drm/radeon/ci_dpm.c
index 022561e..d416bb2 100644
--- a/drivers/gpu/drm/radeon/ci_dpm.c
+++ b/drivers/gpu/drm/radeon/ci_dpm.c
@@ -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;
 }