[PATCH 3/7] drm/amd/powerplay: new hw manager interface for retrieving device specific thermal range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 2, 2018 at 10:15 PM, Evan Quan <evan.quan at amd.com> wrote:
> Change-Id: Icae6e15c7494d12bf8a194b9f1a352e0dcdef4ed
> Signed-off-by: Evan Quan <evan.quan at amd.com>

Please include a commit message.  Something like:
Add a new callback for asic specific backends to specify the temperature ranges.
With that added:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
> index bd2889f..384a4cb 100644
> --- a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
> +++ b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
> @@ -339,6 +339,8 @@ struct pp_hwmgr_func {
>                                         uint32_t mc_addr_low,
>                                         uint32_t mc_addr_hi,
>                                         uint32_t size);
> +       int (*get_thermal_temperature_range)(struct pp_hwmgr *hwmgr,
> +                                       struct PP_TemperatureRange *range);
>  };
>
>  struct pp_table_func {
> --
> 2.7.4
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux