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

Commit 644c2e47 authored by Nitheesh Muthuraj's avatar Nitheesh Muthuraj
Browse files

msm: kgsl: Make the scratch privileged



The flag to make the scratch privileged
was correctly set but not used.

Change-Id: Ie015dd3008803d6a98156f9d2ad049b3cdb86a33
Signed-off-by: default avatarNitheesh Muthuraj <nmuthuraj@codeaurora.org>
parent 7af12e11
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -359,7 +359,7 @@ int adreno_ringbuffer_init(struct adreno_device *adreno_dev)

		if (IS_ERR_OR_NULL(device->scratch)) {
			device->scratch = kgsl_allocate_global(device,
				PAGE_SIZE, 0, KGSL_MEMDESC_RANDOM, "scratch");
				PAGE_SIZE, 0, priv, "scratch");

			if (IS_ERR(device->scratch))
				return PTR_ERR(device->scratch);