smdk4412: merge mali r4p0 driver

Change-Id: Ief824b1dce642fd2133900cd2b0f108fbfa89b1c

Conflicts:
	arch/arm/configs/custom_i9300_defconfig
	drivers/gpu/Makefile
	drivers/gpu/mali400/Kconfig
	drivers/gpu/mali400/r3p2/mali/common/mali_kernel_mem_os.c
	drivers/gpu/mali400/r3p2/mali/common/mali_mem_validation.c
	drivers/gpu/mali400/r4p0/mali/Kbuild
	drivers/gpu/mali400/r4p0/mali/Kconfig
	drivers/gpu/mali400/r4p0/mali/linux/mali_kernel_linux.c
	drivers/gpu/mali400/r4p0/mali/platform/pegasus-m400/exynos4_pmm.c
	drivers/gpu/mali400/r4p0/ump/Kbuild

Conflicts:
	drivers/gpu/mali400/r3p2/mali/common/mali_pp_scheduler.c
	drivers/gpu/mali400/r3p2/mali/common/mali_pp_scheduler.h
	drivers/gpu/mali400/r3p2/mali/common/mali_session.c
	drivers/gpu/mali400/r3p2/mali/common/mali_session.h
	drivers/gpu/mali400/r3p2/mali/linux/mali_sync.c
	drivers/gpu/mali400/r3p2/mali/linux/mali_sync.h
	drivers/gpu/mali400/r3p2/mali/linux/mali_sync_user.c
	drivers/gpu/mali400/r3p2/mali/linux/mali_ukk_core.c
	drivers/gpu/mali400/r3p2/ump/Kbuild
	drivers/gpu/mali400/r4p0/mali/Kconfig
	drivers/gpu/mali400/r4p0/mali/common/mali_gp_scheduler.c
	drivers/gpu/mali400/r4p0/mali/common/mali_kernel_core.c
	drivers/gpu/mali400/r4p0/mali/include/linux/mali/mali_utgard_ioctl.h
	drivers/gpu/mali400/r4p0/mali/include/linux/mali/mali_utgard_uk_types.h
	drivers/gpu/mali400/r4p0/mali/linux/mali_kernel_linux.c
	drivers/gpu/mali400/r4p0/mali/platform/pegasus-m400/exynos4_pmm.c
smdk4412: don't use threaded vsync

The gralloc for smdk4412 waits for vsync. Having
threaded vsync in this case would be problematic
provided our gralloc implementation is different
from that of samsung.

Change-Id: I6c9a84c2bd00a43b47d86647829b9010367dca5d
mali400: use pegasus platform code from r3p2

r3p2 pegasus platform code has midas specific changes for
DVFS and also better support for Exynos4212.

This slightly improved the performance of the GPU.

Change-Id: I2ad903cd868e5c6bf1ce176aa43dfd056c19e5fc

Conflicts:
	kernel/power/main.c
mali: GPU control for r4p0 mali

GPU frequency, scaling and voltage control.
Based on netarchy's initial implementation and improvements of gokhanmoral and
ported onto the pegasus-m400 / Galaxy.

credits to Netarchy, Gokhanmoral, AndreiLux, DerTeufel

Slightly adjusted by andip71

Conflicts:
	drivers/gpu/mali400/r4p0/mali/Kconfig
	drivers/gpu/mali400/r4p0/mali/platform/pegasus-m400/exynos4_pmm.c
mali: GPU control corrections

- re-initialize voltage tabe after ASV level is known
mali: Allow min GPU voltage down to 500 mV and maximum up to 1300 mV
fix wrong r4p0 mutex calls in exynos4_pmm.c
enable mali r4p0