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

Signed-off-by: Martin Tsai <martin.tsai@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Martin Tsai 2018-02-01 20:03:17 +08:00 committed by Alex Deucher
parent fa4d6d8e51
commit b686ee20a9
2 changed files with 7 additions and 0 deletions

View File

@ -1260,6 +1260,12 @@ static enum dc_status enable_link_dp(
pipe_ctx->clock_source->id,
&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);
dpcd_configure_panel_mode(link, panel_mode);

View File

@ -195,6 +195,7 @@ union display_content_support {
struct dc_panel_patch {
unsigned int disconnect_delay;
unsigned int dppowerup_delay;
};
struct dc_edid_caps {