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

Commit 355bde78 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: Trigger preemption only when preemption is enabled"

parents dc365c4b 12a642c1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2207,7 +2207,9 @@ static void a6xx_cp_callback(struct adreno_device *adreno_dev, int bit)
{
	struct kgsl_device *device = KGSL_DEVICE(adreno_dev);

	if (adreno_is_preemption_enabled(adreno_dev))
		a6xx_preemption_trigger(adreno_dev);

	adreno_dispatcher_schedule(device);
}