drm/amd/powerplay/cz: disable uvd pg
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Feb 2016 04:40:32 +0000 (23:40 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Feb 2016 15:37:44 +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/cz_hwmgr.c

index 0874ab42ee95e7e83d4a027639b97a1a45a35890..8fc9e01a7e509635b65654fbfcdfaa24a0b69e33 100644 (file)
@@ -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;
 }