]> 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>
Mon, 19 Feb 2018 19:20:21 +0000 (14:20 -0500)
commit9fde2c3a6f8ece3a62aeef2da7fbdd4bd30f462f
tree0dbcca8ec41ab1de3aa5ca128045c27d10d6d357
parent5d0577620ea2c17ec51b814c804fbb3c833246f9
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