linux_dsm_epyc7002/drivers/gpu/drm/amd
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
..
acp drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
amdgpu drm/amdgpu: fix huge page setting for ATS case 2017-12-13 17:31:01 -05:00
amdkfd drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
display drm/amd/display: Move wait for hpd ready out from edp power control. 2017-12-14 11:00:35 -05:00
include drm/amdgpu: remove some old gc 9.x registers 2017-12-13 17:28:08 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/pp: reset dpm level when adjust power state 2017-12-14 10:23:02 -05:00