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

Commit 3c47a8ff authored by Tarun Karra's avatar Tarun Karra
Browse files

msm: kgsl: Dump snapshot for long IB timeout



Dump snapshot when long IB timeout is detected. The GPU
command processor is halted on long IB timeout detection,
this will halt the GPU pipeline, dumping the snapshot at
this point is safe and gives us information to debug
long IB timeout.

Change-Id: I51bb73b66e11c3b6945c3dfe92af03e21e3c0e62
Signed-off-by: default avatarTarun Karra <tkarra@codeaurora.org>
parent 816351dd
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -987,9 +987,6 @@ static int dispatcher_do_fault(struct kgsl_device *device)
		adreno_readreg(adreno_dev, ADRENO_REG_CP_ME_CNTL, &reg);
		reg |= (1 << 27) | (1 << 28);
		adreno_writereg(adreno_dev, ADRENO_REG_CP_ME_CNTL, reg);

		/* Skip the PM dump for a timeout because it confuses people */
		set_bit(KGSL_FT_SKIP_PMDUMP, &cmdbatch->fault_policy);
	}

	adreno_readreg(adreno_dev, ADRENO_REG_CP_IB1_BASE, &base);