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

Commit 700899ba authored by Mohammed Mirza Mandayappurath Manzoor's avatar Mohammed Mirza Mandayappurath Manzoor Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Adjust RBBM_HANG_INT_CNTL register value to increase cycle count



GPU may sometimes falsely report a hang interrupt in case of long running
payloads. Increase the number of cycles for fault detection to avoid false
interrupts from the GPU.

Change-Id: I7783e16948cf0af1ac3cad96b2f0149c74dc8723
Signed-off-by: default avatarMohammed Mirza Mandayappurath Manzoor <mmandaya@codeaurora.org>
parent d8ccfa1e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -918,9 +918,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 0x3FFFFF * 16 cycles */
	/* Set hang detection threshold to 0xCFFFFF * 16 cycles */
	kgsl_regwrite(device, A6XX_RBBM_INTERFACE_HANG_INT_CNTL,
					(1 << 30) | 0x3fffff);
					(1 << 30) | 0xcfffff);

	kgsl_regwrite(device, A6XX_UCHE_CLIENT_PF, 1);