From efa7ac67a80f31a35c6c3e2b40841439bf107fa2 Mon Sep 17 00:00:00 2001 From: Evan Quan Date: Mon, 30 Jul 2018 14:01:00 +0800 Subject: [PATCH] drm/amd/powerplay: remove max DCEFCLK limitation The latest SMU fw removes the limitation that required UCLK >= DCEFCLK. Signed-off-by: Evan Quan Acked-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c index 1170f233d9e2..d7c4334da250 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c @@ -1356,9 +1356,6 @@ static int vega20_init_max_sustainable_clocks(struct pp_hwmgr *hwmgr) if (max_sustainable_clocks->soc_clock < max_sustainable_clocks->uclock) max_sustainable_clocks->uclock = max_sustainable_clocks->soc_clock; - if (max_sustainable_clocks->uclock < max_sustainable_clocks->dcef_clock) - max_sustainable_clocks->dcef_clock = max_sustainable_clocks->uclock; - return 0; } -- 2.30.2