summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-02-05 04:47:38 (GMT)
committerAlex Deucher <alexander.deucher@amd.com>2016-02-08 15:37:45 (GMT)
commit3d5afb41f82f55e6912678ea24d637b84c160d65 (patch)
tree182219bd4308f2ebb9d8847280784cafb8bbacf4 /drivers/gpu/drm/amd
parent67a0a0fd11524bd9943635168f8380b9906fb389 (diff)
downloadlinux-3d5afb41f82f55e6912678ea24d637b84c160d65.tar.xz
drm/amd/powerplay/tonga: 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')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c
index 44a9250..7518caa 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c
@@ -4615,6 +4615,9 @@ int tonga_hwmgr_backend_init(struct pp_hwmgr *hwmgr)
data->vddc_phase_shed_control = 0;
+ phm_cap_unset(hwmgr->platform_descriptor.platformCaps,
+ PHM_PlatformCaps_UVDPowerGating);
+
if (0 == result) {
struct cgs_system_info sys_info = {0};