drm/amd/powerplay/vega10: allow mclk switching with no displays
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Feb 2018 19:25:11 +0000 (14:25 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Feb 2018 20:07:38 +0000 (15:07 -0500)
commit5825acf5c958a6820b04e9811caeb2f5e572bcd8
treec0a3c9d1890919930e59ce7ed446552673b2972b
parentbfad2d08e540b18cfd92694fbb388e7d202df31f
drm/amd/powerplay/vega10: 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/vega10_hwmgr.c