diff options
| author | Yongqiang Sun <[email protected]> | 2017-11-24 21:31:03 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-12-14 16:00:35 +0000 |
| commit | 904623ee5936e2226009b2f238f28781aecd2565 (patch) | |
| tree | bba0b5b3e1634df87d77ba0949fc75742dd08bf9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amd/display: fix missing pixel clock adjustment for dongle (diff) | |
| download | kernel-904623ee5936e2226009b2f238f28781aecd2565.tar.gz kernel-904623ee5936e2226009b2f238f28781aecd2565.zip | |
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 <[email protected]>
Signed-off-by: Tony Cheng <[email protected]>
Reviewed-by: Tony Cheng <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
