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

Commit 1697a48e authored by Harshdeep Dhatt's avatar Harshdeep Dhatt Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Increase fault detection threshold value



The current value is leading to spurious fault interrupts
from the GPU. Increase the threshold 4 times so that hardware
fault detection won't be triggered as quickly.

CRs-Fixed: 1073836
Change-Id: Ie780cec4de818c94a407461580f9d80de7e4ec84
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
parent 53202f0d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1859,11 +1859,11 @@ static void a5xx_start(struct adreno_device *adreno_dev)
		set_bit(ADRENO_DEVICE_HANG_INTR, &adreno_dev->priv);
		gpudev->irq->mask |= (1 << A5XX_INT_MISC_HANG_DETECT);
		/*
		 * Set hang detection threshold to 1 million cycles
		 * (0xFFFF*16)
		 * Set hang detection threshold to 4 million cycles
		 * (0x3FFFF*16)
		 */
		kgsl_regwrite(device, A5XX_RBBM_INTERFACE_HANG_INT_CNTL,
					  (1 << 30) | 0xFFFF);
					  (1 << 30) | 0x3FFFF);
	}