]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: add delay between panel pwr off to on.
authorCharlene Liu <charlene.liu@amd.com>
Tue, 20 Mar 2018 18:53:04 +0000 (14:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:08:06 +0000 (13:08 -0500)
commitf417552d18bd1105d8a7af2ab381297391473e36
treec11c2f9205467d89897bab5a64d722b47dc3b38a
parentc4c7e807c8402f32f03a067bde21a019737f2791
drm/amd/display: add delay between panel pwr off to on.

As per eDP 1.4 spec, there must be at least 500ms delay
between eDP power off and on.
This change added time stamp when edp power off, which can
be used to calculate duration time when edp power on.
If duration less than 500ms, add a wait.

Signed-off-by: Charlene Liu <charlene.liu@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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
drivers/gpu/drm/amd/display/dc/dc_link.h
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dm_services.h