mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
Yongqiang Sun 2c37e49a6b 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>
2018-05-15 13:43:26 -05:00
..
amdgpu_dm drm/amd/display: Don't program bypass on linear regamma LUT 2018-05-15 13:43:21 -05:00
dc drm/amd/display: Check SCRATCH reg to determine S3 resume. 2018-05-15 13:43:26 -05:00
include drm/amd/display: Don't spam debug messages 2018-05-15 13:43:06 -05:00
modules drm/amd/display: Do not create memory allocation if stats not enabled 2018-05-15 13:43:24 -05:00
Kconfig drm/amd/display: Remove PRE_VEGA flag 2018-05-15 13:43:06 -05:00
Makefile drm/amd: Remove inclusion of non-existing include directories 2018-02-26 23:09:38 -05:00
TODO drm/amd/display: Add TODO item to remove vector.c 2017-12-14 11:01:13 -05:00