mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
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:
parent
7af12e1129
commit
644c2e4777
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue