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

Commit 9ee09db4 authored by Srikanthreddy Ponogoti's avatar Srikanthreddy Ponogoti Committed by Gerrit - the friendly Code Review server
Browse files

disp: gpu: drm: The DUT shall not have retried more than 5 times



As per CEC specification, CEC initiator shall retry max 5 times
to transmit a failed message. Update retries count logic to ensure
a CEC message is transmitted up to max 5 times on failure.

Change-Id: Ic3b37a7fff83518d4b0092ffbf9423cefefaa015
Signed-off-by: default avatarsrikanthreddy ponogoti <quic_sponogot@quicinc.com>
parent d83e941d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ static int drm_dp_cec_adap_transmit(struct cec_adapter *adap, u8 attempts,
				    u32 signal_free_time, struct cec_msg *msg)
{
	struct drm_dp_aux *aux = cec_get_drvdata(adap);
	unsigned int retries = min(5, attempts - 1);
	unsigned int retries = min(2, attempts - 1);
	ssize_t err;

	err = drm_dp_dpcd_write(aux, DP_CEC_TX_MESSAGE_BUFFER,