mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
msm: kgsl: Fix conditional check for GMU_NONCACHED_USER
The conditional to initialize next_uncached_user_alloc is incorrect and this patch simply fixes this. Change-Id: I49c9aa5e2e84bf3c4855af6d166693683ce83c71 Signed-off-by: Sharat Masetty <[email protected]>
This commit is contained in:
parent
d4b3268d66
commit
171b7a49c6
1 changed files with 1 additions and 1 deletions
|
|
@ -240,7 +240,7 @@ static struct gmu_memdesc *allocate_gmu_kmem(struct gmu_device *gmu,
|
|||
|
||||
case GMU_NONCACHED_USER:
|
||||
/* Set start address for first uncached user alloc */
|
||||
if (next_uncached_kernel_alloc == 0)
|
||||
if (next_uncached_user_alloc == 0)
|
||||
next_uncached_user_alloc = gmu->vma[mem_type].start;
|
||||
|
||||
if (addr == 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue