drm/amd/amdgpu: Enable VCE MGCG for Carrizo
authorTom St Denis <tom.stdenis@amd.com>
Wed, 3 Aug 2016 14:16:17 +0000 (10:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:33:17 +0000 (11:33 -0400)
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vi.c

index aaee251fe337ecabed02ecf4edc2882705c30d24..de959a755e22a4d1cadc0f47be563adadc2c3513 100644 (file)
@@ -1248,7 +1248,8 @@ static int vi_common_early_init(void *handle)
                        AMD_CG_SUPPORT_HDP_MGCG |
                        AMD_CG_SUPPORT_HDP_LS |
                        AMD_CG_SUPPORT_SDMA_MGCG |
-                       AMD_CG_SUPPORT_SDMA_LS;
+                       AMD_CG_SUPPORT_SDMA_LS |
+                       AMD_CG_SUPPORT_VCE_MGCG;
                /* rev0 hardware requires workarounds to support PG */
                adev->pg_flags = 0;
                if (adev->rev_id != 0x00) {