aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorJames Zhu <James.Zhu@amd.com>2018-09-21 14:47:45 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-09-26 22:09:25 -0400
commita3716d3a06ac740a3df081d61da3df7f2189f5ac (patch)
tree8404d6085cc60be541d825516b96ff855a9c45b6 /drivers/gpu/drm/amd
parentbd5d5180db3226f0ce4f132e789c71a8efba3555 (diff)
drm/amdgpu:Enable DPG mode on PCO
Add flag AMD_PG_SUPPORT_DPG to enable DPG mode on Picasso Signed-off-by: James Zhu <James.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 138c4810a3de..fb26039beeba 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -739,7 +739,8 @@ static int soc15_common_early_init(void *handle)
739 739
740 adev->pg_flags = AMD_PG_SUPPORT_SDMA | 740 adev->pg_flags = AMD_PG_SUPPORT_SDMA |
741 AMD_PG_SUPPORT_MMHUB | 741 AMD_PG_SUPPORT_MMHUB |
742 AMD_PG_SUPPORT_VCN; 742 AMD_PG_SUPPORT_VCN |
743 AMD_PG_SUPPORT_VCN_DPG;
743 } else { 744 } else {
744 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | 745 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
745 AMD_CG_SUPPORT_GFX_MGLS | 746 AMD_CG_SUPPORT_GFX_MGLS |