Merge "msm: kgsl: Increase fault detection threshold value"

This commit is contained in:
Linux Build Service Account 2016-11-09 16:24:57 -08:00 committed by Gerrit - the friendly Code Review server
commit 2d01b7daf1

View file

@ -1783,11 +1783,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);
}