drm/amdgpu: enable uvd mgcg for Fiji.
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 9 Nov 2016 06:30:25 +0000 (14:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Nov 2016 20:08:39 +0000 (15:08 -0500)
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>
drivers/gpu/drm/amd/amdgpu/vi.c

index 820af9293655f0767153436ce541be3d07049db7..c2d418d890ce7a4e1b8b734281af0b9d71d003a0 100644 (file)
@@ -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;