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

Commit b9850c05 authored by Dhaval Patel's avatar Dhaval Patel Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/sde: increase gpu input fence timeout to 10 seconds



GPU hardware may take longer time to process the complex
workload rendering. 2 seconds might not be enough to
finish the processing. Increase this timeout to 10seconds
for allowing GPU to render complex scene.

Change-Id: Iab3462e2bcddc8d303a6012a632d465d1508ebf8
Signed-off-by: default avatarDhaval Patel <pdhaval@codeaurora.org>
parent dcb1c4ae
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ static struct sde_crtc_custom_events custom_events[] = {
};

/* default input fence timeout, in ms */
#define SDE_CRTC_INPUT_FENCE_TIMEOUT    2000
#define SDE_CRTC_INPUT_FENCE_TIMEOUT    10000

/*
 * The default input fence timeout is 2 seconds while max allowed
@@ -2196,9 +2196,8 @@ void sde_crtc_commit_kickoff(struct drm_crtc *crtc)
		sde_encoder_kickoff(encoder);
	}

	reinit_completion(&sde_crtc->frame_done_comp);

end:
	reinit_completion(&sde_crtc->frame_done_comp);
	SDE_ATRACE_END("crtc_commit");
	return;
}