Loading drivers/gpu/msm/adreno.h +1 −1 Original line number Diff line number Diff line Loading @@ -1381,7 +1381,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 drivers/gpu/msm/kgsl_gmu.c +2 −1 Original line number Diff line number Diff line Loading @@ -549,7 +549,8 @@ static int gmu_dcvs_set(struct kgsl_device *device, */ if (test_bit(ADRENO_DEVICE_STARTED, &adreno_dev->priv)) { gmu_core_snapshot(device); adreno_set_gpu_fault(adreno_dev, ADRENO_GMU_FAULT | adreno_set_gpu_fault(adreno_dev, ADRENO_GMU_FAULT); adreno_set_gpu_fault(adreno_dev, ADRENO_GMU_FAULT_SKIP_SNAPSHOT); adreno_dispatcher_schedule(device); } Loading Loading
drivers/gpu/msm/adreno.h +1 −1 Original line number Diff line number Diff line Loading @@ -1381,7 +1381,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
drivers/gpu/msm/kgsl_gmu.c +2 −1 Original line number Diff line number Diff line Loading @@ -549,7 +549,8 @@ static int gmu_dcvs_set(struct kgsl_device *device, */ if (test_bit(ADRENO_DEVICE_STARTED, &adreno_dev->priv)) { gmu_core_snapshot(device); adreno_set_gpu_fault(adreno_dev, ADRENO_GMU_FAULT | adreno_set_gpu_fault(adreno_dev, ADRENO_GMU_FAULT); adreno_set_gpu_fault(adreno_dev, ADRENO_GMU_FAULT_SKIP_SNAPSHOT); adreno_dispatcher_schedule(device); } Loading