summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2016-11-09 14:30:25 +0800
committerAlex Deucher <alexander.deucher@amd.com>2016-11-23 15:08:39 -0500
commit79abf1add6e6b8fa9951cfb2122c08defa57fbd1 (patch)
treeb2889e69838bdd17ad59629eb8cb083c3f1dc0d3 /drivers/gpu/drm
parentb02d4081a5260778ec9d20ac1f079c2b503d9943 (diff)
downloadop-kernel-dev-79abf1add6e6b8fa9951cfb2122c08defa57fbd1.zip
op-kernel-dev-79abf1add6e6b8fa9951cfb2122c08defa57fbd1.tar.gz
drm/amdgpu: enable uvd mgcg for Fiji.
Signed-off-by: Rex Zhu <Rex.Zhu@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')
-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 820af92..c2d418d 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c
@@ -924,7 +924,8 @@ static int vi_common_early_init(void *handle)
AMD_CG_SUPPORT_HDP_LS |
AMD_CG_SUPPORT_ROM_MGCG |
AMD_CG_SUPPORT_MC_MGCG |
- AMD_CG_SUPPORT_MC_LS;
+ AMD_CG_SUPPORT_MC_LS |
+ AMD_CG_SUPPORT_UVD_MGCG;
adev->pg_flags = 0;
adev->external_rev_id = adev->rev_id + 0x3c;
break;
OpenPOWER on IntegriCloud