Skip to contentSkip to conversation

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

PATCH In review Saleemkhan Jamadar 2 participants 2 messages Jul 4, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 drivers/gpu/drm/amd/amdgpu/soc21.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/soc21.c +3 -1
index 6cc86d13f32a..d30ad7d56def 100644
@@ -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;
Signature · 1 line
2.25.1
Reviewed-by Tim Huang on v1 1/1
#1 lore raw

[AMD Official Use Only - AMD Internal Distribution Only]

This patch is,

Tim
________________________________
From: amd-gfx <[email protected]> on behalf of Saleemkhan Jamadar <[email protected]>
Sent: Thursday, July 4, 2024 6:14:36 PM
To: [email protected] <[email protected]>; Jamadar, Saleemkhan <[email protected]>; Liu, Leo <[email protected]>; Sundararaju, Sathishkumar <[email protected]>; Gopalakrishnan, Veerabadhran (Veera) <[email protected]>; Deucher, Alexander <[email protected]>
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

---
 drivers/gpu/drm/amd/amdgpu/soc21.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/soc21.c +3 -1
index 6cc86d13f32a..d30ad7d56def 100644
@@ -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