linux/drivers/gpu/drm/amd/display/dc/dce110
Yongqiang Sun 904623ee59 drm/amd/display: Move wait for hpd ready out from edp power control.
It may take over 200ms for wait hpd ready. To optimize the resume time,
we can power on eDP in init_hw, wait for hpd ready when doing link
training.

also create separate eDP enable function to make sure eDP is powered up
before doing and DPCD access, as HPD low will result in DPDC transaction
failure.

After optimization,
setpowerstate 145ms -> 9.8ms,
DPMS 387ms -> 18.9ms

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Signed-off-by: Tony Cheng <tony.cheng@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>
2017-12-14 11:00:35 -05:00
..
dce110_compressor.c drm/amd/display: make FBC configurable option 2017-10-21 16:46:05 -04:00
dce110_compressor.h amdgpu/dc: another round of dce/dcn construct cleanups. 2017-09-29 13:02:34 -04:00
dce110_hw_sequencer.c drm/amd/display: Move wait for hpd ready out from edp power control. 2017-12-14 11:00:35 -05:00
dce110_hw_sequencer.h drm/amd/display: Move wait for hpd ready out from edp power control. 2017-12-14 11:00:35 -05:00
dce110_mem_input_v.c drm/amd/display/dc/dce110/dce110_mem_input_v: use swap macro in program_size_and_rotation 2017-12-06 12:47:57 -05:00
dce110_mem_input_v.h drm/amd/display: dce 8 - 12 mem_input refactor to new style 2017-09-26 18:07:12 -04:00
dce110_opp_csc_v.c drm/amd/display: move ocsc programming from opp to dpp for dce 2017-09-26 18:15:53 -04:00
dce110_opp_regamma_v.c drm/amd/display: Remove extra arr_points element 2017-12-06 12:47:36 -05:00
dce110_opp_v.c amdgpu/dc: another round of dce/dcn construct cleanups. 2017-09-29 13:02:34 -04:00
dce110_opp_v.h amdgpu/dc: another round of dce/dcn construct cleanups. 2017-09-29 13:02:34 -04:00
dce110_resource.c drm/amdgpu: add license to files where it was missing 2017-12-07 11:51:25 -05:00
dce110_resource.h amdgpu/dc: remove pointless return from build_pipe_hw_param 2017-09-29 13:02:41 -04:00
dce110_timing_generator_v.c drm/amdgpu: add license to files where it was missing 2017-12-07 11:51:25 -05:00
dce110_timing_generator_v.h amdgpu/dc: another round of dce/dcn construct cleanups. 2017-09-29 13:02:34 -04:00
dce110_timing_generator.c drm/amd/display: Multi display synchronization logic 2017-12-06 12:47:22 -05:00
dce110_timing_generator.h drm/amd/display: Multi display synchronization logic 2017-12-06 12:47:22 -05:00
dce110_transform_v.c amdgpu/dc: move filter taps to being static const data (v2) 2017-09-28 16:49:55 -04:00
dce110_transform_v.h amdgpu/dc: make program_regamma_pwl return void 2017-09-29 13:02:08 -04:00
Makefile drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00