drm/amdgpu: enable IH Clock Gating for OSS IP v6.0.1
Subsystems (3)
PATCH 1/2 drm/amdgpu: enable IH Clock Gating for OSS IP v6.0.1
Enable AMD_CG_SUPPORT_IH_CG support.
Signed-off-by Tim Huang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/soc21.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/soc21.c +1 -0
@@ -602,6 +602,7 @@ static int soc21_common_early_init(void *handle)AMD_CG_SUPPORT_HDP_LS |AMD_CG_SUPPORT_ATHUB_MGCG |AMD_CG_SUPPORT_ATHUB_LS | +AMD_CG_SUPPORT_IH_CG |AMD_CG_SUPPORT_VCN_MGCG |AMD_CG_SUPPORT_JPEG_MGCG ; adev->pg_flags =
Signature · 1 line
2.25.1
PATCH 2/2 drm/amd/pm: Enable GFXOFF feature for SMU IP v13.0.4
The driver needs to set EnableGfxImu message parameter to tell the PMFW to set the flag that enables the GFXOFF feature.
Signed-off-by Tim Huang <[email protected]>
--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c +2 -2
@@ -2345,8 +2345,8 @@ int smu_v13_0_set_gfx_power_up_by_imu(struct smu_context *smu) index =smu_cmn_to_asic_specific_index (smu,CMN2ASIC_MAPPING_MSG , SMU_MSG_EnableGfxImu); - -return smu_cmn_send_msg_without_waiting (smu, index,0 ); +/* Param 1 to tell PMFW to enable GFXOFF feature */ +return smu_cmn_send_msg_without_waiting (smu, index,1 ); } int smu_v13_0_od_edit_dpm_table(struct smu_context *smu,
Signature · 1 line
2.25.1
Series is:
Reviewed-by Alex Deucher <[email protected]>
Quoted 23 lines · Tim Huang
Enable
AMD_CG_SUPPORT_IH_CGsupport.Signed-off-by Tim Huang <[email protected]>--- drivers/gpu/drm/amd/amdgpu/soc21.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/amdgpu/soc21.c +1
-1@@ -602,6 +602,7 @@ static int soc21_common_early_init(void *handle)AMD_CG_SUPPORT_HDP_LS |AMD_CG_SUPPORT_ATHUB_MGCG |AMD_CG_SUPPORT_ATHUB_LS | +AMD_CG_SUPPORT_IH_CG |AMD_CG_SUPPORT_VCN_MGCG |AMD_CG_SUPPORT_JPEG_MGCG ; adev->pg_flags = --2.25.1