aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/vi.c
diff options
context:
space:
mode:
authorTom St Denis <tom.stdenis@amd.com>2016-08-03 10:16:17 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-08-08 11:33:17 -0400
commit1af69a2c355e9a6d3d9384697be923e34265f79c (patch)
tree33fdc6a1314aa7b323f28326eb46b77d385505f2 /drivers/gpu/drm/amd/amdgpu/vi.c
parentdrm/amd/amdgpu: Don't set VCE CG in startup (diff)
downloadlinux-dev-1af69a2c355e9a6d3d9384697be923e34265f79c.tar.xz
linux-dev-1af69a2c355e9a6d3d9384697be923e34265f79c.zip
drm/amd/amdgpu: Enable VCE MGCG for Carrizo
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vi.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
index aaee251fe337..de959a755e22 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c
@@ -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) {