Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9da5bd05 authored by Sharat Masetty's avatar Sharat Masetty
Browse files

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: default avatarSharat Masetty <smasetty@codeaurora.org>
parent 07c19948
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -239,7 +239,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)