mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
Merge "msm: kgsl: Properly set fault bit in adreno_set_gpu_fault"
This commit is contained in:
commit
003a1824ff
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue