drm/amd/display: Allow clock lower on dce100
authorDavid Francis <David.Francis@amd.com>
Fri, 9 Nov 2018 16:50:18 +0000 (11:50 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Nov 2018 17:03:37 +0000 (12:03 -0500)
commitfa3547dd92deff8624a18621035e876f94f24a1b
treecd5e510c98d795fe228f739c664c0ed0e60feff2
parent8ccb596fc574bae614aea9a532d8993e0f400f7e
drm/amd/display: Allow clock lower on dce100

dce100 was set to always pass safe_to_lower = false
to the clock manager

Thus, on suspend the clocks were not being set to 0
which is incorrect behaviour

This was causing s3 resume to blackscreen on intel
CPUs with dce100 GPUs attached

(Note that the hash in this Fixes: tag is the hash on Alex's tree)
Fixes: ae7d8aeb38d7 ("drm/amd/display: remove safe_to_lower flag from dc, use 2 functions instead")

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce100/dce100_hw_sequencer.c