drm/amdgpu: set vcn mgcg flag for picasso
authorSathishkumar S <sathishkumar.sundararaju@amd.com>
Mon, 3 May 2021 07:04:10 +0000 (12:34 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 May 2021 14:49:16 +0000 (10:49 -0400)
enable vcn mgcg flag for picasso.

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

index d80e12b..8e1b9a4 100644 (file)
@@ -1401,7 +1401,8 @@ static int soc15_common_early_init(void *handle)
                                AMD_CG_SUPPORT_MC_MGCG |
                                AMD_CG_SUPPORT_MC_LS |
                                AMD_CG_SUPPORT_SDMA_MGCG |
-                               AMD_CG_SUPPORT_SDMA_LS;
+                               AMD_CG_SUPPORT_SDMA_LS |
+                               AMD_CG_SUPPORT_VCN_MGCG;
 
                        adev->pg_flags = AMD_PG_SUPPORT_SDMA |
                                AMD_PG_SUPPORT_MMHUB |