[PATCH] Add missing lines to ci_set_thermal_temperature_range

Alex Deucher alexdeucher at gmail.com
Mon Aug 11 11:59:30 PDT 2014


On Mon, Aug 11, 2014 at 1:53 PM, Oleg Chernovskiy <algonkvel at gmail.com> wrote:
> Signed-off-by: Oleg Chernovskiy <algonkvel at 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
>


More information about the dri-devel mailing list