summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorTom St Denis2016-08-03 16:16:17 +0200
committerAlex Deucher2016-08-08 17:33:17 +0200
commit1af69a2c355e9a6d3d9384697be923e34265f79c (patch)
tree33fdc6a1314aa7b323f28326eb46b77d385505f2 /drivers/gpu
parentdrm/amd/amdgpu: Don't set VCE CG in startup (diff)
downloadkernel-qcow2-linux-1af69a2c355e9a6d3d9384697be923e34265f79c.tar.gz
kernel-qcow2-linux-1af69a2c355e9a6d3d9384697be923e34265f79c.tar.xz
kernel-qcow2-linux-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')
-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) {