mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "msm: kgsl: Fix overflow issue to gpu_busy"
This commit is contained in:
commit
86d7ed9aeb
1 changed files with 1 additions and 1 deletions
|
|
@ -3456,7 +3456,7 @@ static void adreno_power_stats(struct kgsl_device *device,
|
|||
|
||||
if (busy->gpu_busy)
|
||||
gpu_busy = (val >= busy->gpu_busy) ? val - busy->gpu_busy :
|
||||
(~0UL - busy->gpu_busy) + val;
|
||||
(UINT_MAX - busy->gpu_busy) + val;
|
||||
|
||||
busy->gpu_busy = val;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue