]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amdgpu: enable Arcturus CG for VCN and JPEG blocks
authorLeo Liu <leo.liu@amd.com>
Mon, 11 Nov 2019 15:27:03 +0000 (10:27 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 15:12:50 +0000 (10:12 -0500)
Arcturus VCN and JPEG only got CG support, and no PG support

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index f3977abbd1e2ce4f13ba5c1f1035c0b27efe30c6..b404b7a6e593b795a0fe4a0cfc2e27bbf9581ea5 100644 (file)
@@ -1210,7 +1210,9 @@ static int soc15_common_early_init(void *handle)
                        AMD_CG_SUPPORT_SDMA_LS |
                        AMD_CG_SUPPORT_MC_MGCG |
                        AMD_CG_SUPPORT_MC_LS |
-                       AMD_CG_SUPPORT_IH_CG;
+                       AMD_CG_SUPPORT_IH_CG |
+                       AMD_CG_SUPPORT_VCN_MGCG |
+                       AMD_CG_SUPPORT_JPEG_MGCG;
                adev->pg_flags = 0;
                adev->external_rev_id = adev->rev_id + 0x32;
                break;