Merge tag 'android-4.4.1_r1' into HEAD

Android 4.4.1 Release 1
hwc/copybit: Add Color layer support in MDP Copybit composition.

1. Color layer has a destination rectangle, RGBA color and plane
   alpha. There is no gralloc buffer. Layer flag HWC_COLOR_FILL
   denotes color layer. MDP BLIT happens via MDP_SOLID_FILL mode.
2. There is no color member in HWC layer, so RGBA color value is
   passed via "tranform" member from framework to HAL.
3. Update HWC query to enable framework to query for Color layer
   support in HAL, at run-time.

Change-Id: I2c698007c1689779fe86d549093bb5285432dc5f

hwc/overlay: Add Color layer support in MDP Composition.

1. Color layer has a destination rectangle, RGBA color and plane
   alpha. There is no gralloc buffer. Layer flag "HWC_COLOR_FILL"
   denotes a Color layer.
2. There is no color member in HWC layer, so RGBA color value
   is passed via the "tranform" member from framework to HAL.

Change-Id: I8769fd3f5febcaf952a1456de0a4262679c9a0e4
Use msm8974 directory for msm8226

- The code in msm8x26 directory is oudated and 8974 works
  with no issues.
- Remove unneeded msm8x26 directory
- Add symlink from msm8226 to msm8974 so current macros that
  use display/$(TARGET_BOARD_PLATFORM) to find needed headers
  continue to work as expected.
Change-Id: I5fe4a86674c9f278a951a6ad7a89af6f93c491cb
display: Add support for MDP 4.1

 * MDP 4.1 does not support the borderfill pipe and the baselayer logic
   should not be used.
 * Only use 3 pipes for MDP 4.1.

Change-Id: Ide542079902f35818300619f8eefd3d188342b5d
display: Fix support for MDP 4.1

 * MDP 4.1 still does not support the borderfill pipe, baselayer logic
   should not be used.

Change-Id: I587bdff4a03ced141e43819eea70cec1aedaeb7b
display: add TARGET_PROVIDES_LIBLIGHT

Change-Id: I9388f3582d74b4b569e2807e4ec6177dc50f38d0
display: Fix build with current msm mdp kernel header

Commit 999ee56abce2a0f25b3d4518a8a225fe74b3aae5 introduced a helper macro
to calculate the actual mdp revision. Use this here.

Change-Id: Ied0e0e32a4ce41acd367b81a3710c0b25559741d
Use numDisplays instead of MAX_DISPLAYS in hwcomposer reset() function

Change-Id: I98ee5f6bda680548aa0c7701e17f8a7e4e8d454c
Merge "Use numDisplays instead of MAX_DISPLAYS in hwcomposer reset() function" into cm-11.0
display: Use project pathmap

Change-Id: I2a51d48a4338f3aeb65be5d2c0b88eb12b6df771
Fix building with prebuilt kernel.

Credit to slim.

Change-Id: I362beb0d0788233df46a164ca3f640892d870394