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

Commit babe3b08 authored by Alan Kwong's avatar Alan Kwong
Browse files

msm: sde: reduce kickoff timeout to 2 vsyncs



Current kickoff timeout is much longer than necessary.
Reduce it to 2 vsyncs of slowest frame rate at 24Hz so
it would signal much earlier than fence timeout.

CRs-Fixed: 2009714
Change-Id: I1c20889d009b97c4cb36faf7f7468f6388717c93
Signed-off-by: default avatarAlan Kwong <akwong@codeaurora.org>
parent ae1b1143
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@
#define XIN_WRITEBACK		1

/* wait for at most 2 vsync for lowest refresh rate (24hz) */
#define KOFF_TIMEOUT		(42 * 32)
#define KOFF_TIMEOUT		(84)

/* default stream buffer headroom in lines */
#define DEFAULT_SBUF_HEADROOM	20