drm/amdgpu:Enable DPG mode on PCO
authorJames Zhu <[email protected]>
Fri, 21 Sep 2018 18:47:45 +0000 (14:47 -0400)
committerAlex Deucher <[email protected]>
Thu, 27 Sep 2018 02:09:25 +0000 (21:09 -0500)
Add flag AMD_PG_SUPPORT_DPG to enable DPG mode on Picasso

Signed-off-by: James Zhu <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Huang Rui <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 138c4810a3ded81707e21e802a9b5c770fa539d1..fb26039beeba6b096695b9c9d61dc9e1cce7dc23 100644 (file)
@@ -739,7 +739,8 @@ static int soc15_common_early_init(void *handle)
 
                        adev->pg_flags = AMD_PG_SUPPORT_SDMA |
                                AMD_PG_SUPPORT_MMHUB |
-                               AMD_PG_SUPPORT_VCN;
+                               AMD_PG_SUPPORT_VCN |
+                               AMD_PG_SUPPORT_VCN_DPG;
                } else {
                        adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
                                AMD_CG_SUPPORT_GFX_MGLS |