OSDN Git Service

drm/amd/powerplay/smu7: allow mclk switching with no displays
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Feb 2018 19:26:54 +0000 (14:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Feb 2018 20:07:46 +0000 (15:07 -0500)
commit51954e17914aaadf18d97b21c2a2cee16fa29513
treea492fe517743a5d152df0721564388aa65a41b64
parent5825acf5c958a6820b04e9811caeb2f5e572bcd8
drm/amd/powerplay/smu7: allow mclk switching with no displays

If there are no displays attached, there is no reason to disable
mclk switching.

Fixes mclks getting set to high when there are no displays attached.

Reviewed-by: Eric Huang <JinhuiEric.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c