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: Nitheesh Muthuraj <nmuthuraj@codeaurora.org>
This commit is contained in:
Nitheesh Muthuraj 2020-02-04 14:39:29 -08:00
commit 644c2e4777

View file

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