aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSonny Jiang <[email protected]>2023-10-31 11:21:24 -0400
committerAlex Deucher <[email protected]>2024-05-02 16:18:14 -0400
commit117f85139382c5a9699eae96edc781c9d9c6e86f (patch)
tree79c6a3d9015da17c3af59f2305341eae8e28d897
parentf19cfce87d9416d050399ae56a00f2060eab85f4 (diff)
drm/amdgpu/vcn5: enable DPG mode support
Enable DPG mode Signed-off-by: Sonny Jiang <[email protected]> Reviewed-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc24.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc24.c b/drivers/gpu/drm/amd/amdgpu/soc24.c
index 9c14f81c88a7..e7929be1a6ff 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc24.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc24.c
@@ -360,7 +360,8 @@ static int soc24_common_early_init(void *handle)
case IP_VERSION(12, 0, 1):
adev->cg_flags = 0;
adev->pg_flags = AMD_PG_SUPPORT_VCN |
- AMD_PG_SUPPORT_JPEG;
+ AMD_PG_SUPPORT_JPEG |
+ AMD_PG_SUPPORT_VCN_DPG;
adev->external_rev_id = adev->rev_id + 0x50;
adev->cg_flags = AMD_CG_SUPPORT_GFX_CGCG |
AMD_CG_SUPPORT_GFX_CGLS;