aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2018-06-11 16:46:40 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-06-28 14:06:09 -0500
commit363a3d3fb7d478d7dd49b8c6294436b8ba5984cc (patch)
tree7eebf6edbff3545fb37f22783e720e84c8fbcfef /drivers/gpu/drm
parentdrm/amd/display: release spinlock before committing updates to stream (diff)
downloadlinux-dev-363a3d3fb7d478d7dd49b8c6294436b8ba5984cc.tar.xz
linux-dev-363a3d3fb7d478d7dd49b8c6294436b8ba5984cc.zip
drm/amd/powerplay: correct vega12 thermal support as true
Thermal support is enabled on vega12. Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
index 782e2098824d..6955c359b706 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
@@ -81,6 +81,7 @@ static void vega12_set_default_registry_data(struct pp_hwmgr *hwmgr)
data->registry_data.disallowed_features = 0x0;
data->registry_data.od_state_in_dc_support = 0;
+ data->registry_data.thermal_support = 1;
data->registry_data.skip_baco_hardware = 0;
data->registry_data.log_avfs_param = 0;