Commit b686ee20 authored by Martin Tsai's avatar Martin Tsai Committed by Alex Deucher

drm/amd/display: add monitor patch for delay after DP receive power up

Signed-off-by: default avatarMartin Tsai <martin.tsai@amd.com>
Reviewed-by: default avatarCharlene Liu <Charlene.Liu@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent fa4d6d8e
...@@ -1260,6 +1260,12 @@ static enum dc_status enable_link_dp( ...@@ -1260,6 +1260,12 @@ static enum dc_status enable_link_dp(
pipe_ctx->clock_source->id, pipe_ctx->clock_source->id,
&link_settings); &link_settings);
if (stream->sink->edid_caps.panel_patch.dppowerup_delay > 0) {
int delay_dp_power_up_in_ms = stream->sink->edid_caps.panel_patch.dppowerup_delay;
msleep(delay_dp_power_up_in_ms);
}
panel_mode = dp_get_panel_mode(link); panel_mode = dp_get_panel_mode(link);
dpcd_configure_panel_mode(link, panel_mode); dpcd_configure_panel_mode(link, panel_mode);
......
...@@ -195,6 +195,7 @@ union display_content_support { ...@@ -195,6 +195,7 @@ union display_content_support {
struct dc_panel_patch { struct dc_panel_patch {
unsigned int disconnect_delay; unsigned int disconnect_delay;
unsigned int dppowerup_delay;
}; };
struct dc_edid_caps { struct dc_edid_caps {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment