GPU: Sync with Samsung msm8660-common kernel

Change-Id: Ibbadcc39cac9d05e258c6186a6d5cd8da0169b9d
msm: vidc: Check validity of userspace address

Before writing to a userspace address, verification
of the validity of user space address is required.

Change-Id: I9141e44a6c11aaf3f4d57c08bb0dd26a7b214f34
CRs-fixed: 556356
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
vidc: Define Memtype
vidc: Use ION for decoder and PMEM for encoder

Signed-off-by: Sultanxda <sultanxda@gmail.com>
Revert "mach-msm: vidc: Remove memtype parameter"

This reverts commit ceb4e320262e6a3a03cd4ea06fd7b31dc5c54d1b.
vidc: Don't check for secure session for DDL_CMD_MEM
msm_fb: display: Use spinlock instead of mutex in vsync timer handler

Use spinlock instead of mutex in vsync timer handler to avoid sleeping
from timer context through mutex locks

Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
doubleshot: Latest Mem Maps