summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/hwmgr
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-02-05 07:40:32 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-02-08 18:37:44 +0300
commitd4fdc08e251316e2e0710d02e65b4576ce7963d2 (patch)
tree7bb17072705adb49724119d955efaebe50e44fbd /drivers/gpu/drm/amd/powerplay/hwmgr
parent35e5912d0801184b57119383da003263a21eeed1 (diff)
downloadlinux-d4fdc08e251316e2e0710d02e65b4576ce7963d2.tar.xz
drm/amd/powerplay/cz: disable uvd pg
Not working reliably yet. Reviewed-by: Eric Huang <JinHuiEric.Huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
index 0874ab42ee95..8fc9e01a7e50 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
@@ -247,6 +247,8 @@ static int cz_initialize_dpm_defaults(struct pp_hwmgr *hwmgr)
phm_cap_set(hwmgr->platform_descriptor.platformCaps,
PHM_PlatformCaps_DisableVoltageIsland);
+ phm_cap_unset(hwmgr->platform_descriptor.platformCaps,
+ PHM_PlatformCaps_UVDPowerGating);
return 0;
}