display: Remove unused components

libgenlock has been replaced with sync point and the
functionality of libtilerender is present in the Android
framework since JB MR1

Change-Id: Ibeebc544e3a48343c3dab04a1682a7f8c7ffb188
hwc: Add assertive display support.

Add assertive display support to hwc. This feature takes effect when
node /sys/class/graphics/fb*/ad is present. This signifies that that LM0
is being used with fb* for writeback.

When a video playback begins we write "1" to this node to indicate to
post processing that a writeback will happen. Likewise a "0" is written
to this node when playback stops.

The original contents are worked upon and the modified output is fed
via writeback to either rotator or mdp as appropriate.

The feature doesnt trigger when either:
1) Buffer size exceeds 2048
2) External display is connected
3) Multiple yuv streams are present

When this mode is active, MDP comp is applied only to yuv layer.

Change-Id: If5520f9dc849de3189c9f9ed4e9072c8f8f760e1
hwc/copybit: Use gpu composition for plane alpha

MDP3 doesn't support plane alpha. So falling back to
gpu whenever there is plane alpha in the list of layers.

Change-Id: Iec40e5160f4320b7393d937444645d1a243bd83b
hwc: change error logs to debug logs

There were error message that should just be debug messages.
These error logs can cause automation testing to fail.

Change-Id: I4ba681a737e8324da9ef8e7984efa57f70ee8637
liblight: Add path to blink nodes for green/blue LED's.

Liblight can now set the green/blue LED's to blink mode.

Change-Id: I6206ed4397cf91859074b35b2faa9f287b3c4f9d
Merge "hwc/copybit: Use gpu composition for plane alpha"
hwc: Reset state of layer which needs rotation

  This change was removed during re base
  ( original commit id: I266a87228193fd85252a22242b66dd4af5f3033f).

  Bringing it back.

Change-Id: I625add1996ca98c47cedecbe8c9f27d298c5f079
Merge "liblight: Add path to blink nodes for green/blue LED's."
Merge "hwc: Add assertive display support."
HWC/copybit : Add support to indicate driver on layer with Zorder 0

Some applications send RGBA layer with constant alpha 0xFF and
isOpaque=1. For these types of layer we don't get any wormHole
regions. Hence we see the previous content (framebuffer) due to
wrong selection of blending logic at kernel side.

To fix these kind of issues on MDP3 we make layer with Z order
zero as FG layer. This makes sure that proper blending logic
is chosen in kernel.

CRs-fixed: 521638
CRs-fixed: 517944
Change-Id: I172a46c3284916264a1413a6a16875afea2b1aad
gralloc: Fix ITU formats for camera

Make sure ITU formats are applied exclusively for camera buffers.
Camera HW_TEXTURE buffers go to GPU and should be marked as 601 FR.
Earlier, this was OR'd with video encoder due to which it
incorrectly got marked as 709.

Change-Id: Icaf3692b581b7861229e613dd632123d21dda2cf
display: External display refactor

- cleans up external library
- add separate library for virtual display
- process virtual updates in its separate path
  in hwc.
- Acquire blank mutex lock for one complete drawing
  cycle

Change-Id: Ib984c578464a131ecdb27ee48960f58d68b7a5a7
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
Merge "display: External display refactor"
Merge "hwc: Reset state of layer which needs rotation"
Merge "HWC/copybit : Add support to indicate driver on layer with Zorder 0"
gralloc: Fix NV12_ENCODEABLE allocation

Targets having the venus core have the same allocation and stride
requirements for HAL_PIXEL_FORMAT_NV12_ENCODEABLE as the
HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS format.

Change-Id: Ie5ab8db6639dfa791c5be0161cde6140c3dae779
hwcomposer: Deprecate setupBasePipe

Needed only for A family targets where MDP boots up with
RGB pipe attached to the base.

Change-Id: I5118b8b41e4f864f8c73a115398b13bffa1f3383
Merge commit 'dec392e8642753b1250ed2ccffc83f89a7fd458c' into HEAD
Merge "Merge commit 'dec392e8642753b1250ed2ccffc83f89a7fd458c' into HEAD"