drm/amd/display: add dpms state to DC
authorHersen Wu <hersenxs.wu@amd.com>
Fri, 29 Sep 2017 20:36:34 +0000 (16:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:47:47 +0000 (16:47 -0400)
commitd050f8ed14494ea23c6e10b5893010946ef0f78b
treeb773fd962c71097ff59a46ad5e3416bdc51473ef
parent8e7095b909dd5451c92dc04420891a578e2f3152
drm/amd/display: add dpms state to DC

- avoid eDP screen flash 4 times when resume from s3
- improve s3 and boot time

Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c