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:
parent
fa4d6d8e51
commit
b686ee20a9
2 changed files with 7 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
||||||
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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue