diff options
author | Yongqiang Sun | 2018-04-07 03:38:10 +0200 |
---|---|---|
committer | Alex Deucher | 2018-05-15 20:43:26 +0200 |
commit | 2c37e49a6bcd5e0c66963301e9feab63b5f928f3 (patch) | |
tree | 12166d6b978d28c9dca47fcec9534152018a29b7 /arch/arm | |
parent | drm/amd/display: HDMI has no sound after Panel power off/on (diff) | |
download | kernel-qcow2-linux-2c37e49a6bcd5e0c66963301e9feab63b5f928f3.tar.gz kernel-qcow2-linux-2c37e49a6bcd5e0c66963301e9feab63b5f928f3.tar.xz kernel-qcow2-linux-2c37e49a6bcd5e0c66963301e9feab63b5f928f3.zip |
drm/amd/display: Check SCRATCH reg to determine S3 resume.
Use lid state only to determine fast boot optimization is not enough.
For S3/Resume, due to bios isn't involved in boot, eDP wasn't
light up, while lid state is open, if do fast boot optimization,
eDP panel will skip enable link and result in black screen after boot.
And becasue of bios isn't involved, no matter UEFI or Legacy boot,
BIOS_SCRATCH_3 value should be 0, use this to determine the case.
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions