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

Commit f43f2588 authored by Carter Cooper's avatar Carter Cooper
Browse files

msm: kgsl: Increase fault detection threshold



Increase the threshold to reduce the chance of a false fault
detection on a long running kernel.

Change-Id: Ia316f57cce14b3c7edae3872a4bf92936ccedbf0
Signed-off-by: default avatarCarter Cooper <ccooper@codeaurora.org>
parent d9089f47
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -488,9 +488,9 @@ static void a6xx_start(struct adreno_device *adreno_dev)
	kgsl_regwrite(device, A6XX_UCHE_MODE_CNTL, (glbl_inv << 29) |
						(mal << 23) | (bit << 21));

	/* Set hang detection threshold to 4 million cycles (0x3FFFF*16) */
	/* Set hang detection threshold to 0x1FFFFF * 16 cycles */
	kgsl_regwrite(device, A6XX_RBBM_INTERFACE_HANG_INT_CNTL,
					  (1 << 30) | 0x3ffff);
					  (1 << 30) | 0x1fffff);

	kgsl_regwrite(device, A6XX_UCHE_CLIENT_PF, 1);