Fix building libmemalloc without ION
qcom: add ifdef to liblight

Change-Id: I0dd430a53c3e16083251f6ecf916be8142a4b732
qcom: fix compile of ion because of a dupilcate override

Change-Id: If02eece991d98ad1e1f4bf9c8c1669622feb53a2
Allow compatibility with ICS EGL for OMX

The new headers define the qcom video buffer format
(HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED) as 0x7FA30C03, ICS used 0x108.

Trying to play a video with the ICS Adreno driver results in
it rejecting the buffers because 2141391875 (0x7FA30C03) is an
unknown buffer format, so use the QCOM_ICS_COMPAT CFLAG to
fallback to the older enum.

Do NOT use this with JB Adreno blobs.

Change-Id: I2bd05c681718e916bd91311a4c9e503545f2e1bc
display: Enable triple framebuffers

Change-Id: I323c10b939277477f724c2d0a20f9c6da4899481
liboverlay: Refactor, bug-fixes, upgrade.

Fix memory leak during copying pipe objects.
Remove unused / unnecessary code.
setMemoryId API is merged with queueBuffer.
setParameter API is setTransform now.
Rotator upgraded to:
--Allow different rotator hardware types.
--Remove dependency on MDP code.
--Allocate memory only during first playback, close when the associated pipe is
closed.
Have single commit implementation.
Include new format types.

Change-Id: I28d87179c7ec9c0b97721a9ff17f1526da98b714
hwc: Add VideoOverlay class

Add videoOverlay class for display videos with overlay.

Change-Id: I161d1732fdf8336d0b6dcf5326e6adb7514a2d02

Conflicts:

	libhwcomposer/Android.mk
overlay: Allocate from MM heap as a fallback

 * Not all devices support IOMMU yet, so use the MM heap as a fallback.

Change-Id: I9d9f3dffb92f5b4bf45422df0f66a40611943202
framebuffer: Fix locking

The gralloc locking did not lock
the framebuffer. Use genlock to
lock the framebuffers.

Change-Id: Ie8be6f7950f6df06a2293c3df863e19cd5386479
overlay: upgrade

p#1: Remove WAIT and CHANNEL enums and usage. Replace BypassPipe with
     GenericPipe. Client expected to set alignments and parameters.
     Add transform combination enums.
p#2: Allow APIs to be called in any order. Do transform calcs in commit.
     Move ext type setter and getter functions.
p#3: Add calculations for 180 transform.
p#4: Add secure session support in rotator
p#5: Implement all rotations in terms of H flip, V flip and 90 rotation.

Change-Id: I34a9a2a0f1255b3467a0abbaa254d0b584e901ce

Conflicts:

	liboverlay/overlayMem.h
hwcomposer: Add support for UI mirroring

- Uevent observer as part of Hwcomposer
- HPD, enabling/disabling external display from HWC

Change-Id: I52b4f30c78e98c5b52c86722046389f458c2dbee

Conflicts:

	libhwcomposer/Android.mk
gralloc: Update Yamato format to match OMX

The value of OMX color format for Yamato  is 0x7FA30C01.

Change-Id: Idb25ce6cd619a44e5980074e2a37185a4750000d
overlay: Secure playback add missing flag.

Add the missing GRALLOC_USAGE_PRIVATE_CP_BUFFER while allocating secure memory
Change the O_SYNC to O_DSYNC flag.

Change-Id: Ida014018be111a7904ff07c206a673b2abf52d05
display : Add support for copybit composition

This change add support for copybit composition in display HAL
for MDP3 targets.

Change-Id: I80144619f39a895d2f214adb6ca92d0a7f5ed9a5

Conflicts:

	common.mk
	libhwcomposer/Android.mk
overlay: Allow disabling secure playback

If the device's kernel isn't fully prepared for secure content
playback, having the secure field in the msm_rotator_img_info
struct will cause issues while playing out video.

The correct set of patches to the kernel (MDP, maybe vidc) needs
to be figured out for this to be enabled; to disable it,
add QCOM_NO_SECURE_PLAYBACK to the device's CFLAGS. (and remove
"secure" from msm_rotator_img_info)

Change-Id: I7949e918163e0acb2d6eb3d8881b04fb07b2be2c
libcopybit: Build for 7x27A and 7x27 platforms

Change-Id: Ifc610b35f724294a7377824ce4e327fc957b587b
display: disable hwcomposer logspam

Change-Id: I71e912218932c66852424c47d98c384ed21344c2
Merge "overlay: Allow disabling secure playback" into jellybean
framebuffer: add alternative RGBA offset for SEMC 7x30

Change-Id: Ibf4e4069a8ebc4808a383295ebe725adcd7a45f1
Revert "libcopybit: Build for 7x27A and 7x27 platforms"

  * Patch is wrong in multiple places. Reverting.

This reverts commit cbf4ac3a902740b5b3a525bb93ef4d3be2c8575c.