]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit465ed7a1c45c41d61d3fb7c48c3cc6b14661bfcc
treec0a3c9d1890919930e59ce7ed446552673b2972b
parent0449725fe1aed587a9a877a05f6dafb9d1cabafc
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