drm/amdgpu: Enable VCN DPG for GC11_0_1
Subsystems (2)
PATCH 1/2 drm/amdgpu: Enable VCN DPG for GC11_0_1
Enable VCN DPG on GC11_0_1
Signed-off-by Sonny Jiang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/soc21.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/soc21.c +1 -0
@@ -629,6 +629,7 @@ static int soc21_common_early_init(void *handle)AMD_CG_SUPPORT_JPEG_MGCG ; adev->pg_flags =AMD_PG_SUPPORT_GFX_PG | +AMD_PG_SUPPORT_VCN_DPG |AMD_PG_SUPPORT_JPEG ; adev->external_rev_id = adev->rev_id +0x1 ;break ;
Signature · 1 line
2.36.1
PATCH 2/2 drm/amdgpu: Enable sram on vcn_4_0_2
Enable sram on vcn_4_0_2
Signed-off-by Sonny Jiang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c +1 -1
@@ -191,7 +191,7 @@ int amdgpu_vcn_sw_init(struct amdgpu_device *adev) fw_name =FIRMWARE_VCN4_0_2 ;if ((adev->firmware.load_type ==AMDGPU_FW_LOAD_PSP ) && (adev->pg_flags &AMD_PG_SUPPORT_VCN_DPG )) - adev->vcn.indirect_sram = false; + adev->vcn.indirect_sram = true;break ;case IP_VERSION (4 ,0 ,4 ): fw_name =FIRMWARE_VCN4_0_4 ;
Signature · 1 line
2.36.1
Reviewed-by JamesZhu<[email protected]>fortheseries.
Quoted 19 lines · Sonny Jiang
Enable VCN DPG on
GC11_0_1Signed-off-by Sonny Jiang<[email protected]>--- drivers/gpu/drm/amd/amdgpu/soc21.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/amdgpu/soc21.c +1
-0@@ -629,6 +629,7 @@ static int soc21_common_early_init(void *handle)AMD_CG_SUPPORT_JPEG_MGCG ; adev->pg_flags =AMD_PG_SUPPORT_GFX_PG | +AMD_PG_SUPPORT_VCN_DPG |AMD_PG_SUPPORT_JPEG ; adev->external_rev_id = adev->rev_id +0x1 ;break ;