drm/amd/powerplay/tonga: disable uvd pg
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Feb 2016 04:47:38 +0000 (23:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Feb 2016 15:37:45 +0000 (10:37 -0500)
Not working reliably yet.

Reviewed-by: Eric Huang <JinHuiEric.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c

index 44a925006479176617c54a5fa3c33a1eb6b92bad..7518caae7bed5b4aaecf1bf4b61b2733af29727f 100644 (file)
@@ -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};