]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/amd/display: Fix Vega10 lightup on S3 resume
authorRoman Li <Roman.Li@amd.com>
Wed, 26 Sep 2018 17:42:16 +0000 (13:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2018 15:03:12 +0000 (10:03 -0500)
commit599760d6d0abbab71f9726b49858d2ec45e74c0a
treec1c91622a11aa483b518fbe0119d26305ba4ffbd
parent61ea6f5831974ebd1a57baffd7cc30600a2e26fc
drm/amd/display: Fix Vega10 lightup on S3 resume

[Why]
There have been a few reports of Vega10 display remaining blank
after S3 resume. The regression is caused by workaround for mode
change on Vega10 - skip set_bandwidth if stream count is 0.
As a result we skipped dispclk reset on suspend, thus on resume
we may skip the clock update assuming it hasn't been changed.
On some systems it causes display blank or 'out of range'.

[How]
Revert "drm/amd/display: Fix Vega10 black screen after mode change"
Verified that it hadn't cause mode change regression.

Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Sun peng Li <Sunpeng.Li@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/dce110/dce110_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h
drivers/gpu/drm/amd/display/dc/dce120/dce120_hw_sequencer.c