drm/amdgpu: enable ATHUB clock gatting
Subsystems (2)
PATCH 1/1 drm/amdgpu: enable ATHUB clock gatting
From: "Prike.Liang" <[email protected]>
Enable ATHUB clock gatting set in Renoir series.
Signed-off-by Prike.Liang <[email protected]>
Reviewed-by Evan Quan <[email protected]>
Reviewed-by Huang Rui <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/athub_v1_0.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/athub_v1_0.c +1 -0
@@ -73,6 +73,7 @@ int athub_v1_0_set_clockgating(struct amdgpu_device *adev,case CHIP_VEGA12 :case CHIP_VEGA20 :case CHIP_RAVEN : +case CHIP_RENOIR :athub_update_medium_grain_clock_gating (adev, state ==AMD_CG_STATE_GATE ); athub_update_medium_grain_light_sleep(adev,
Signature · 6 lines
2.25.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 1/1 drm/amdgpu: enable HDP clock gatting
From: "Prike.Liang" <[email protected]>
Enabe HDP SD/DS clock gatting in Renoir series.
Signed-off-by Prike.Liang <[email protected]>
Reviewed-by Evan Quan <[email protected]>
Reviewed-by Huang Rui <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/soc15.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/soc15.c +2 -1
@@ -1452,7 +1452,8 @@ static void soc15_update_hdp_light_sleep(struct amdgpu_device *adev, bool enableuint32_t def, data;if (adev->asic_type ==CHIP_VEGA20 || - adev->asic_type ==CHIP_ARCTURUS ) { + adev->asic_type ==CHIP_ARCTURUS || + adev->asic_type ==CHIP_RENOIR ) { def = data =RREG32 (SOC15_REG_OFFSET (HDP ,0 , mmHDP_MEM_POWER_CTRL));if (enable && (adev->cg_flags &AMD_CG_SUPPORT_HDP_LS ))
Signature · 6 lines
2.25.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Series are Reviewed-by: Huang Rui <[email protected]>
Quoted 27 lines · Alex Deucher
From: "Prike.Liang" <[email protected]>
Enable ATHUB clock gatting set in Renoir series.
Signed-off-by Prike.Liang <[email protected]>Reviewed-by Evan Quan <[email protected]>Reviewed-by Huang Rui <[email protected]>Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/amdgpu/athub_v1_0.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/amdgpu/athub_v1_0.c +1
-0@@ -73,6 +73,7 @@ int athub_v1_0_set_clockgating(struct amdgpu_device *adev,case CHIP_VEGA12 :case CHIP_VEGA20 :case CHIP_RAVEN : +case CHIP_RENOIR :athub_update_medium_grain_clock_gating (adev, state ==AMD_CG_STATE_GATE ); athub_update_medium_grain_light_sleep(adev,Signature · 1 line
2.25.4
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx