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:
Sharat Masetty 2019-11-18 15:24:11 +05:30 • committed by Jordan Crouse
commit 171b7a49c6

View file

@ -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)