Update mali based on I9305 JB sources

Change-Id: I52de6e478893cc3fa1690d14fd94576707dfac5f

Conflicts:

	drivers/media/video/samsung/fimc/fimc_capture.c
	drivers/media/video/samsung/mali/Makefile
	drivers/media/video/samsung/mali/arch/config.h
	drivers/media/video/samsung/mali/common/mali_kernel_MALI200.c
	drivers/media/video/samsung/mali/common/mali_kernel_rendercore.c
	drivers/media/video/samsung/mali/linux/mali_kernel_pm.c
	drivers/media/video/samsung/mali/linux/mali_kernel_sysfs.c
	drivers/media/video/samsung/mali/linux/mali_osk_notification.c
	drivers/media/video/samsung/ump/arch/config.h
	drivers/media/video/samsung/ump/common/ump_uk_types.h
	drivers/media/video/samsung/ump/linux/ump_kernel_memory_backend_os.c
	drivers/video/samsung/s3cfb.h
	drivers/video/samsung/s3cfb_main.c
	drivers/video/samsung/s3cfb_s6e39a0.c
	drivers/video/samsung/s3cfb_s6e8aa0.c
	drivers/video/samsung/s3cfb_s6e8ab0.c
	drivers/video/samsung/s5p-dsim.c
	drivers/video/samsung/s5p-dsim.h
configs: Update for r3p0 Mali

Change-Id: Ic131ff5246a752f78626804e4ee041c04e2a674d
s3cfb: Make vsync uevents optional

Legacy ICS hwcomposer implementations don't benefit from these,
so they just eat battery.  Make them optional until we have working
opensource HWC.

Change-Id: I74a2dbf9c20bf970912ee5b1975d02b24eeec0d0
Signed-off-by: Andrew Dodd <atd7@cornell.edu>
configs: Regenerate for optional vsync uevents

Change-Id: If2f8e6e0618191e30d3c42fb8e11ba94aea97fa9
mali: Clean up arch

The arch directory is supposed to be a symlink to the proper
architecture directory.  Add orion-m400 and symlink to it.

(orion-m400 and pegasus-m400 seem to have the same config.h
but keep em' separate anyway.)

Change-Id: I70045baad8bb1538269ea2afc2e017b349598a34
mali: Fix bad file formatting.

Somehow this file wound up becoming Mac-formatted...

Change-Id: I89dcc22e4c88d71ef78b6a7e2d20280674632b37
mali: Update platform code.

Pull it from pegasus, remove the obvious Pegasus-specific crap,
and also enable Mali 3-step.

Not yet user-controllable.  That's for a later patch when
our GPU isn't gulping down juice.

Change-Id: Iaa8a026a944dbbf76aa3524639f983a1426d04fc
Signed-off-by: Andrew Dodd <atd7@cornell.edu>
mali: Fix for getting the subversion revision

Prevents compiler errors due to unescaped strings, ie:

    arm-eabi-gcc: error: directory: No such file or directory
    arm-eabi-gcc: error: directory": No such file or directory

Forward port from 3d59d993.

Change-Id: Ib4cdd0ae6f7bcc2641d1264197b15a58d1240a52
ump: Fix for getting the subversion revision

Prevents compiler errors due to unescaped strings, ie:

     arm-eabi-gcc: error: directory: No such file or directory
     arm-eabi-gcc: error: directory": No such file or directory

Forward port from fcaa34e2.

Change-Id: I06b03801801f43fbe87d544ea5e5720f660a56af
mali: switch clksrc back to MPLL

In Tab 7 Plus and 7.7, Mali clocks are derived directly from
VPLL.  In all other Exynos 4210 devices, they are derived by
dividing MPLL which is always 800 MHz.

Exynos 4x12 devices also derive Mali clocks from VPLL, and
we just pulled their platform code.  Right now, all clock
requests are failing due to not having the right VPLL entries.

Go back to the old way of deriving Mali clocks until:
We add GPU clock control and more steps
We have the correct VPLL entries

Change-Id: If5bea84081b31f702c7ea2860a9a748aa0b28efa
Signed-off-by: Andrew Dodd <atd7@cornell.edu>
exynos-mem: Fix major security hole

This fixes the exynos-mem device security hole. The driver allowed any user
to access all of the device's lowmem through the provided mmap functionality.

We create a small little framework collecting the actual CMA memory blocks
that exist on the device; they are the root cause of the existence of this device
driver. We white-list only the CMA memory spaces as parameters to the mmap
function and deny access to any other memory space requests.

We furthermore just allow access to the "s3c-fimc" memory block as this is
seemingly the only space which upon access denial actually breaks functionality.

This patch was modified to be suitable for Exynos 4210 by
Andrew Dodd <atd7@cornell.edu> from Andrei's original Exynos 4412 patch.

Change-Id: Ie5335c1ca81293dc071e919c00524f1e6765e70e
Signed-off-by: Andrew Dodd <atd7@cornell.edu>

Conflicts:

	arch/arm/plat-s5p/reserve_mem.c