]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
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>
Mon, 19 Feb 2018 19:20:21 +0000 (14:20 -0500)
commita9b3c001650984993dc96e09e1c59f57b905fd2d
tree35d9e3b8f0cad4a6dd8cde4ccd665bbb6c80b94c
parentd6bca7e7146796002308988e913d493f0c67bec0
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