From: "Prike.Liang" <prike.li...@amd.com>

Enabe HDP SD/DS clock gatting in Renoir series.

Signed-off-by: Prike.Liang <prike.li...@amd.com>
Reviewed-by: Evan Quan <evan.q...@amd.com>
Reviewed-by: Huang Rui <ray.hu...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc15.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c 
b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 3cd98c144bc6..3c3a7adad024 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1452,7 +1452,8 @@ static void soc15_update_hdp_light_sleep(struct 
amdgpu_device *adev, bool enable
        uint32_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))
-- 
2.25.4

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to