Commit 88eac241 authored by Anthony Koo's avatar Anthony Koo Committed by Alex Deucher
Browse files

drm/amd/display: add monitor patch to add T7 delay



[Why]
Specifically to one panel,
TCON is able to accept active video signal quickly, but
the Source Driver requires 2-3 frames of extra time.

It is a Panel issue since TCON needs to take care of
all Sink requirements including Source Driver. But in
this case it does not.

Customer is asking to add fixed T7 delay as panel
workaround.

[How]
Add monitor specific patch to add T7 delay

Signed-off-by: default avatarAnthony Koo <anthony.koo@amd.com>
Reviewed-by: default avatarCharlene Liu <Charlene.Liu@amd.com>
Acked-by: default avatarLeo Li <sunpeng.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 606b3551
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -162,6 +162,10 @@ bool edp_receiver_ready_T7(struct dc_link *link)
			break;
			break;
		udelay(25); //MAx T7 is 50ms
		udelay(25); //MAx T7 is 50ms
	} while (++tries < 300);
	} while (++tries < 300);

	if (link->local_sink->edid_caps.panel_patch.extra_t7_ms > 0)
		udelay(link->local_sink->edid_caps.panel_patch.extra_t7_ms * 1000);

	return result;
	return result;
}
}


+1 −0
Original line number Original line Diff line number Diff line
@@ -202,6 +202,7 @@ struct dc_panel_patch {
	unsigned int dppowerup_delay;
	unsigned int dppowerup_delay;
	unsigned int extra_t12_ms;
	unsigned int extra_t12_ms;
	unsigned int extra_delay_backlight_off;
	unsigned int extra_delay_backlight_off;
	unsigned int extra_t7_ms;
};
};


struct dc_edid_caps {
struct dc_edid_caps {