From: Evan Quan Date: Mon, 30 Jul 2018 06:01:00 +0000 (+0800) Subject: drm/amd/powerplay: remove max DCEFCLK limitation X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=efa7ac67a80f31a35c6c3e2b40841439bf107fa2;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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; }