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

Commit 7fa8b4c8 authored by Harshdeep Dhatt's avatar Harshdeep Dhatt Committed by Jeevan Shriram
Browse files

msm: kgsl: Remove harmless preemption log message



This message is logged when we receive a preemption
interrupt after we have already detected that preemption
has been finished in hardware by reading the preemption
status register. This is a harmless condition so remove
it.

CRs-Fixed: 993480
Change-Id: I61a48353428b3faa042fbc85e259b33c7f23bdb0
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
parent c1f7d84b
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -2579,12 +2579,11 @@ void adreno_dispatcher_preempt_callback(struct adreno_device *adreno_dev,
					int bit)
{
	struct adreno_dispatcher *dispatcher = &(adreno_dev->dispatcher);

	if (ADRENO_DISPATCHER_PREEMPT_TRIGGERED !=
			atomic_read(&dispatcher->preemption_state)) {
		KGSL_DRV_CRIT_RATELIMIT(KGSL_DEVICE(adreno_dev),
			"Preemption interrupt generated w/o trigger!\n");
			atomic_read(&dispatcher->preemption_state))
		return;
	}

	trace_adreno_hw_preempt_trig_to_comp_int(adreno_dev->cur_rb,
			      adreno_dev->next_rb);
	atomic_set(&dispatcher->preemption_state,