drm/amd/display: Fix S3 topology change
authorRoman Li <Roman.Li@amd.com>
Fri, 20 Oct 2017 14:15:18 +0000 (10:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Nov 2017 22:54:26 +0000 (17:54 -0500)
commit3eb4eba42263cc1e810d79b4970cbcb096c210ab
tree7a60564add2353a8165b7cda30ab88d9cedca80f
parent6bffebc90c23e2341a1f8371e7b496ec94136e47
drm/amd/display: Fix S3 topology change

Clean fake sink flag on resume if real sink connected.
Fixing S3 topology change problem like this:
1) x desktop with 1 or > displays
2) unplug display
3) suspend
4) replug same display
5) resume
without this change replugged display doesn't light up

Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Sun peng Li <Sunpeng.Li@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c