aftersilence/kernel_mediapad — pull request #1 by zyr3x (2012-08-29 14:03:29+00:00)
Title: pull vmalloc

Replace vmalloc allocation with physical page allocation. For most
allocations we do not need a kernel virual address. vmalloc uses up
the kernel virtual address space. By replacing vmalloc with physical
page alloction and mapping that allocation to kernel space only
when it is required prevents the kgsl driver from using unnecessary
vmalloc virtual space.

CRs-Fixed: 346921

Signed-off-by: Harsh Vardhan Dwivedi
(cherry picked from commit 8cb835b656ae2c3faa79af4f374563d344b46d4a)

Conflicts:

drivers/gpu/msm/kgsl_sharedmem.c

Change-Id: I88e1eb282cc4822970811728d00b1096188f64e9
Signed-off-by: Ram Kumar Chakravarthy Chebathini
(cherry picked from commit d5fa912f599a71223496d2ff97ecd5040b95baaf)

Signed-off-by: Zhoulu Luo

Conflicts:

drivers/gpu/msm/kgsl.c
drivers/gpu/msm/kgsl_sharedmem.c
drivers/gpu/msm/kgsl_sharedmem.h

Conflicts:

build.sh
drivers/gpu/msm/kgsl.c
drivers/gpu/msm/kgsl_sharedmem.c
drivers/gpu/msm/kgsl_sharedmem.h