diff options
author | 2017-12-28 14:20:05 +0800 | |
---|---|---|
committer | 2018-02-19 14:17:07 -0500 | |
commit | 80cfd1db6757a8dc6fef671abeb40480dac178cf (patch) | |
tree | b2badb0c7c67279e4e08b4a868339ee7cdf8b057 | |
parent | drm/amd/powerplay: new cgs interface setting dpm thermal range (diff) | |
download | wireguard-linux-80cfd1db6757a8dc6fef671abeb40480dac178cf.tar.xz wireguard-linux-80cfd1db6757a8dc6fef671abeb40480dac178cf.zip |
drm/amd/powerplay: new hw manager interface for retrieving device specific thermal range
Added a new callback for asic specific backends to specify the temperature ranges.
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h index bd2889f73426..384a4cb71b93 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 { |