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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Mar 2018 09:54:30 +0000 (10:54 +0100)
commit396ff36876744a8359fb6d56c484f66bdb677842
tree8bab0be1dabda492e8df0ffafe0a7c8da85f196a
parent9b9a82c0e2e1e9ca1f838beae51d6791e69a8a85
drm/amd/powerplay/smu7: allow mclk switching with no displays

commit 51954e17914aaadf18d97b21c2a2cee16fa29513 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c