msm: rotator: sync point support

Add MSM_ROTATOR_IOCTL_BUFFER_SYNC ioctl interface.
Rotator will create a timeline for each session at START, wait for
input fence and create released fence in this ioctl call,
signal the timeline after rotation is done.

Change-Id: I3738f8287d804ccd94e0a16ac0afb8b41b299c75
Signed-off-by: Ken Zhang <kenz@codeaurora.org>

Conflicts:
	drivers/char/msm_rotator.c
msm8960: Fixed compilation under GCC 4.7

Various fixes for the GCC 4.7/Linaro compiler. AOSP Master is moving
toward GCC 4.7 so it isn't a bad idea to get compatible with the
toolchain.

Change-Id: I88518ff14cd6fa6e26e2daed4a3a6414e0cd01a0
Signed-off-by: rohan <rohanmathur34@gmail.com>
Merge "msm8960: Fixed compilation under GCC 4.7" into jellybean