mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 22:53:38 -04:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
4c61af8afe
commit
78d5d04d11
@@ -341,6 +341,10 @@ bool dm_dmcu_set_pipe(struct dc_context *ctx, unsigned int controller_id);
|
||||
|
||||
unsigned long long dm_get_timestamp(struct dc_context *ctx);
|
||||
|
||||
unsigned long long dm_get_elapse_time_in_ns(struct dc_context *ctx,
|
||||
unsigned long long current_time_stamp,
|
||||
unsigned long long last_time_stamp);
|
||||
|
||||
/*
|
||||
* performance tracing
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user