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

Commit 9020b018 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 the timeout value for fault detection"

parents fa9a2101 a16261c8
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ static unsigned int _dispatcher_inflight = 15;
static unsigned int _cmdbatch_timeout = 2000;

/* Interval for reading and comparing fault detection registers */
static unsigned int _fault_timer_interval = 50;
static unsigned int _fault_timer_interval = 200;

/* Local array for the current set of fault detect registers */
static unsigned int fault_detect_regs[FT_DETECT_REGS_COUNT];
@@ -1612,14 +1612,8 @@ 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);
}