hwcomposer: ifdef HWC_REMOVE_DEPRECATED_VERSIONS in hwc_utils.h
Add HTC's RGBA offset variant

Change-Id: I3c0ec45640eec54fdd43b2f61fa158be5a07e522
copybit: Fix compile error for 7x27

Change-Id: Iba9cdaa8a73a7b2afcf4a6ca546c6c4e1ea025f4
For devices like htc marvel and liberty, some pixel formats aren't supported and compile fails
define following in your boardconfig to make use of it
COMMON_GLOBAL_CFLAGS += -DQCOM_MISSING_PIXEL_FORMATS

Commit is derived from http://goo.gl/91KJ9
liboverlay: Make sure the crop rectangles' dimensions are even

Even out the values for both dimensions and position on both src
and destination rects.
This fixes both over and underrun issues, especially with HD panels

Change-Id: I781792d69cad83f76c3c0a45a5179a731661c3cf
qdutils: Don't assume we support overlay without version info.

If we can't determine the version we shouldn't assume that overlay is
supported. If it is still needed there should be a config to force
overlay support.

Change-Id: Ic1000fdcd5ffefc517782eca605fc63b88f47602
hwc: Retry vsync on EBUSY

The driver returns EBUSY if it is unable to complete the frame
within a timeout - this is a recoverable error

Change-Id: Ifde01c1d7515598a82d032c0ba869fa658b050a9
qdutils: Add MDP v3.0.2 detection.

Change-Id: I22ad1f7fe3c2c03518e192b44f8f0f7018d8ff34
Allow usage of kernel headers

Change-Id: I9fa11bd72fa632551679d8b13a89cccbaae53e77
overlay : Check for WI-FI-D support to set number of framebuffers

Change-Id: Id7998aef6070ae9062634329061e1a8d66b911f5
qdutils: Default to GPU composition

If composition type is not set, default to GPU composition.
This is because CPU composition is not supported from MR1 onwards

Change-Id: I951dcb5586a8dbcfbe73cd7292d0f1690d6528ba
overlay: Remove unnecessary lock.

Remove the unnecessary lock used in setter and getter of external.

Change-Id: If752c212e4c28a81db5c6957d0e751444e23ff93
gralloc: Remove update rect

SurfaceFlinger does not use this feature any more.
Removing this to avoid usage of reserved flags.
If this is needed again, it can be added with metadata
in the display commit ioctl

Change-Id: Iaf3f14a910ad64c83abb0910fad4a999b663c545
overlay: Swap flips on 90 only for older mdp version.

Older mdp rotator does 90 first and flip next,
forcing HAL to swap flips, in presence of 90.

Newer mdp does flip first and 90 next, owing to DMA pipe.
(Also similar to GPU flip handling). So we can pass flips as-is.

Change-Id: I379509a07e45966262005666e7727e7923079d3a
Merge remote-tracking branch 'arco/cm-10.1' into cm-10.1-HWC1.1