display: Use project pathmap

Change-Id: I13dd6ece1d3520a3d1a8447e34be0ec3d34c745c
Don't build lights module if vendor supplies it

Change-Id: I63589281961e1120e7536798df6d78b8a7af4304
gralloc: Let gralloc_priv.h be overloaded by device trees

Adjustments to private_handle_t may be necessary for device-specific
blob compatibility, so don't enforce usage of the local header

Change-Id: I588ca59ed76b1a063a4b663ac2c98589865b7738
Add support for white LEDs

Bug: 9079860
Change-Id: Icc981682a274546c1414bd7c0b0045b1293575bf
display: Remove libmm-abl dependency

This lib no longer needs to be linked to any component in the
display HAL.

Change-Id: Id332d3cb22fc35e16f655d4c6127d6f1891330b0
hwc: Get the retire fence from the MDP driver

Get the retire fence separately instead of duplicating the
release fence.

Bug: 9319776
Change-Id: Iacb773c2d94f635e27a7b355d399cb2e36dac2a5
Signed-off-by: Iliyan Malchev <malchev@google.com>
Signed-off-by: Ethan Chen <intervigil@gmail.com>
hwc: Disable idle invalidation for command mode panels

Command mode panels have an internal framebuffer with which they
refresh, hence the idle invalidator isn't needed for them.

Change-Id: I6acf0cc1f8c520cbcf706f109a42e47304c534d3
Don't force GPU composite for older devices

Older devices (8960) don't take this very well in programs like
Netflix. Modeled on 94b8632b85e2b6588a1b3260d1f4e48462501d4b

Change-Id: Ie716bbfb6f6560d8f9f52b7b72ca0b04d1bad6b8
liboverlay: do not return error if fb num >= 2 doesn't exist (writeback).

Some devices doesn't have writeback support, but needs HDMI (fb1)
This will allow them not to break HDMI support.
This is a cleaner implementation as it won't change handling on
8660 devices having writeback (if those exists).

Change-Id: I6c09759dfa4f2b1734f85012cab4eb4f350820ea
libcopybit: Add missing return statement

Change-Id: I662699b7418eba2c4792ed6c7c7b628762ebe03b
(cherry picked from commit f2e940109252c63b6e21f929e45ba794dfe12b95)
copybit: Fix type conversion error for GCC 4.7

    GCC 4.7 has stricter type conversion rules in copybit.cpp

Change-Id: I7f8572e2d9416ccb2ba17e707c7f75a2e69d69cf
Revert "display: Video Encoding not working"

* "display: Video Encoding not working" was mismerged
  into another commit (de13ed01a21db7d6b46962729fa3f9ff3ef8c2cd)
  by upstream in kk_2.7 from kk_3.5
* The original commit has since been reverted in kk_3.5,
  this is a cherry-pick of that.

This reverts commit 0a1db6aef28c3b90d1f992f56abc562dbae10b55.
Video encoder uses the NV12 encodeable format again.

Change-Id: I1b5170a5c2b5c7de0791cc5bc44457257519f749
hwc: Make the fallback to Copybit composition a compile time option

- let only the devices that actually need it to use this code path
  (it breaks the transition animations on S4 Plus devices otherwise)

Change-Id: Ie6dadf5f0b32631c355eb41e6a0e77ed4e08f763
gralloc: Fix compatibility issue

* Only new gralloc drivers support GET_CUSTOM_STRIDE_AND_HEIGHT, so
  default to older gralloc behavior.
* New behavior can be enabled by adding flag HAVE_NEW_GRALLOC

Change-Id: Iaa05c02d7e611c84b63c9afda0fcedb6d9b6e661
Add 8660