1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/inc
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
..
hw drm/amd/display: Move OPP mpc tree initialization to hw_init 2017-12-14 10:57:50 -05:00
bw_fixed.h amdgpu/dc: allow inlining constant int to fixed a lot better. 2017-09-29 13:03:35 -04:00
clock_source.h drm/amd/display: add display write back(DWB) 2017-09-26 18:16:36 -04:00
compressor.h drm/amd/display: Initial prototype of FBC implementation 2017-09-26 18:15:56 -04:00
core_status.h drm/amd/display: Add timing validation against dongle cap 2017-11-28 17:54:16 -05:00
core_types.h drm/amd/display: Add dppclk to dcn_bw_clocks 2017-12-14 10:56:59 -05:00
custom_float.h drm/amd/display: Enable regamma 25 segments and use double buffer. 2017-09-26 17:14:18 -04:00
dc_link_ddc.h amdgpu/dc: hide some unused aux/i2c payload apis. 2017-09-29 13:03:15 -04:00
dc_link_dp.h amdgpu/dc: set some of the link dp code to static. 2017-09-29 13:04:03 -04:00
dce_calcs.h drm/amd/display: Rename dc validate_context and current_context 2017-09-26 18:17:14 -04:00
dcn_calcs.h drm/amd/display: Rename dc validate_context and current_context 2017-09-26 18:17:14 -04:00
hw_sequencer.h drm/amd/display: Move wait for hpd ready out from edp power control. 2017-12-14 11:00:35 -05:00
link_hwss.h drm/amd/display: Move power control from link encoder to hwsequencer 2017-10-21 16:44:08 -04:00
reg_helper.h drm/amd/display: add line number to reg_wait timeout print 2017-09-26 18:15:11 -04:00
resource.h drm/amd/display: audio dynamic resource acquired related 2017-10-21 16:46:16 -04:00