drm/amdgpu: enable vcn powergating for PCO
authorKenneth Feng <kenneth.feng@amd.com>
Fri, 24 Aug 2018 08:44:11 +0000 (16:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Sep 2018 14:35:47 +0000 (09:35 -0500)
enable vcn pg

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 53159f1d7a39651fb1e26efc09845a1a04883ce8..7837f0cc75b28815696e8418420da73d60c4f780 100644 (file)
@@ -740,7 +740,9 @@ static int soc15_common_early_init(void *handle)
                        AMD_CG_SUPPORT_SDMA_MGCG |
                        AMD_CG_SUPPORT_SDMA_LS;
 
-               adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_MMHUB;
+               adev->pg_flags = AMD_PG_SUPPORT_SDMA |
+                                               AMD_PG_SUPPORT_MMHUB |
+                                               AMD_PG_SUPPORT_VCN;
 
                if (adev->powerplay.pp_feature & PP_GFXOFF_MASK)
                        adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |