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

Commit 7016268b authored by Urvashi Agrawal's avatar Urvashi Agrawal
Browse files

msm: kgsl: Increase the cycle count for fault detection in a6xx



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: Idebc475021c0f69fcad40d71ed82597359a2bcfb
Signed-off-by: default avatarUrvashi Agrawal <urvaagra@codeaurora.org>
parent b1544106
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -886,9 +886,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 0x1FFFFF * 16 cycles */
	/* Set hang detection threshold to 0x3FFFFF * 16 cycles */
	kgsl_regwrite(device, A6XX_RBBM_INTERFACE_HANG_INT_CNTL,
					  (1 << 30) | 0x1fffff);
					(1 << 30) | 0x3fffff);

	kgsl_regwrite(device, A6XX_UCHE_CLIENT_PF, 1);