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

Commit 91021647 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Increase fault timer for slower a305 GPU"

parents c7aa4ee0 1dd982bb
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1541,8 +1541,14 @@ void adreno_dispatcher_irq_fault(struct kgsl_device *device)
 */
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);
}