Merge "msm: kgsl: Increase fault timer for slower a305 GPU"
diff --git a/drivers/gpu/msm/adreno_dispatch.c b/drivers/gpu/msm/adreno_dispatch.c
index 2da36b6..ec5e57c 100644
--- a/drivers/gpu/msm/adreno_dispatch.c
+++ b/drivers/gpu/msm/adreno_dispatch.c
@@ -1515,8 +1515,14 @@
*/
void adreno_dispatcher_start(struct kgsl_device *device)
{
+ struct adreno_device *adreno_dev = ADRENO_DEVICE(device);
+
complete_all(&device->cmdbatch_gate);
+ /* a305c GPU is slower than a330 and needs a larger timer */
+ if (adreno_is_a305c(adreno_dev))
+ _fault_timer_interval = 200;
+
/* Schedule the work loop to get things going */
adreno_dispatcher_schedule(device);
}