linux/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/display: Correct fixed point calculation. 2017-12-14 10:57:36 -05:00
bios drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
calcs drm/amd/display: add assert to verify dcn_calc input validity 2017-12-14 10:57:05 -05:00
core drm/amd/display: Move wait for hpd ready out from edp power control. 2017-12-14 11:00:35 -05:00
dce drm/amd/display: Move wait for hpd ready out from edp power control. 2017-12-14 11:00:35 -05:00
dce80 drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
dce100 drm/amdgpu: add license to files where it was missing 2017-12-07 11:51:25 -05:00
dce110 drm/amd/display: Move wait for hpd ready out from edp power control. 2017-12-14 11:00:35 -05:00
dce112 drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
dce120 drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
dcn10 drm/amd/display: Move wait for hpd ready out from edp power control. 2017-12-14 11:00:35 -05:00
dml drm/amd/display: Add disclaimer to BW and DML code provided by HW 2017-12-14 10:55:02 -05:00
gpio drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
i2caux drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
inc drm/amd/display: Move wait for hpd ready out from edp power control. 2017-12-14 11:00:35 -05:00
irq drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
virtual drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
dc_bios_types.h drm/amd/display: Rename firmware_info to dc_firmware_info 2017-09-26 18:15:51 -04:00
dc_ddc_types.h drm/amd/display: Roll core_link into dc_link 2017-09-26 18:15:36 -04:00
dc_dp_types.h drm/amd/display: get remote dpcd caps for timing validation 2017-12-06 12:47:26 -05:00
dc_helper.c drm/amdgpu: add license to files where it was missing 2017-12-07 11:51:25 -05:00
dc_hw_types.h drm/amd/display: Integrating MPC pseudocode 2017-12-14 10:51:45 -05:00
dc_link.h drm/amd/display: Move dc_link interface to separate header 2017-12-06 12:47:44 -05:00
dc_stream.h drm/amd/display: Cache cursor position. 2017-12-14 10:54:25 -05:00
dc_types.h drm/amd/display: Apply VQ adjustments in MPO case 2017-12-04 16:41:37 -05:00
dc.h drm/amd/display: Move unity TF type to predefined types 2017-12-14 10:57:22 -05:00
dm_helpers.h drm/amd/display: Implement HDMI retimer settings for RV AM4 support. 2017-09-26 18:16:45 -04:00
dm_pp_smu.h drm/amd/display: refactor pplib/smu communication 2017-09-26 18:16:46 -04:00
dm_services_types.h drm/amd/display: refactor pplib/smu communication 2017-09-26 18:16:46 -04:00
dm_services.h drm/amd/display: performance profiling instrumentation 2017-12-06 12:48:08 -05:00
irq_types.h drm/amd/display: Add interrupt entries for VBLANK isr. 2017-09-26 17:11:12 -04:00
Makefile drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
os_types.h drm/amd/display: Clean up os_types.h a bit 2017-12-14 10:53:20 -05:00