[PATCH] drm/amdgpu: enable dpg for vcn and jpeg on GC 11_5_2

Huang, Tim Tim.Huang at amd.com
Thu Jul 4 10:21:03 UTC 2024


[AMD Official Use Only - AMD Internal Distribution Only]

This patch is,

Reviewed-by: Tim Huang <tim.huang at amd.com<mailto:tim.huang at amd.com>>

Tim
________________________________
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> on behalf of Saleemkhan Jamadar <saleemkhan.jamadar at amd.com>
Sent: Thursday, July 4, 2024 6:14:36 PM
To: amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>; Jamadar, Saleemkhan <Saleemkhan.Jamadar at amd.com>; Liu, Leo <Leo.Liu at amd.com>; Sundararaju, Sathishkumar <Sathishkumar.Sundararaju at amd.com>; Gopalakrishnan, Veerabadhran (Veera) <Veerabadhran.Gopalakrishnan at amd.com>; Deucher, Alexander <Alexander.Deucher at amd.com>
Subject: [PATCH] drm/amdgpu: enable dpg for vcn and jpeg on GC 11_5_2

DPG mode is enabled for vcn and jpeg on VCN v4_0_5

Signed-off-by: Saleemkhan Jamadar <saleemkhan.jamadar at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc21.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
index 6cc86d13f32a..d30ad7d56def 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
@@ -774,7 +774,9 @@ static int soc21_common_early_init(void *handle)
                         AMD_CG_SUPPORT_IH_CG |
                         AMD_CG_SUPPORT_BIF_MGCG |
                         AMD_CG_SUPPORT_BIF_LS;
-               adev->pg_flags = AMD_PG_SUPPORT_VCN |
+               adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG |
+                       AMD_PG_SUPPORT_VCN |
+                       AMD_PG_SUPPORT_JPEG_DPG |
                         AMD_PG_SUPPORT_JPEG |
                         AMD_PG_SUPPORT_GFX_PG;
                 adev->external_rev_id = adev->rev_id + 0x40;
--
2.25.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20240704/66ddcf27/attachment-0001.htm>


More information about the amd-gfx mailing list