Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent fa4d6d8e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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);

+1 −0
Original line number Diff line number Diff line
@@ -195,6 +195,7 @@ union display_content_support {

struct dc_panel_patch {
	unsigned int disconnect_delay;
	unsigned int dppowerup_delay;
};

struct dc_edid_caps {