]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteba9eec3b738b67b8dd9a54d97c83aaf09a53f3e
tree7a60564add2353a8165b7cda30ab88d9cedca80f
parent176a1e9964ddc2aca4d9675b52c7638a518b9fbd
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