aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-02-04 23:47:38 -0500
committerAlex Deucher <alexander.deucher@amd.com>2016-02-08 10:37:45 -0500
commit3d5afb41f82f55e6912678ea24d637b84c160d65 (patch)
tree182219bd4308f2ebb9d8847280784cafb8bbacf4
parent67a0a0fd11524bd9943635168f8380b9906fb389 (diff)
downloadlinux-3d5afb41f82f55e6912678ea24d637b84c160d65.tar.gz
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>
-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 44a92500647917..7518caae7bed5b 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};