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

Commit 003a1824 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Properly set fault bit in adreno_set_gpu_fault"

parents 2129bf63 98340d37
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1283,7 +1283,7 @@ static inline void adreno_set_gpu_fault(struct adreno_device *adreno_dev,
	int state)
{
	/* only set the fault bit w/o overwriting other bits */
	atomic_add(state, &adreno_dev->dispatcher.fault);
	atomic_or(state, &adreno_dev->dispatcher.fault);

	/* make sure other CPUs see the update */
	smp_wmb();