qcom_display: add TARGET_PROVIDES_LIBLIGHT

Change-Id: Ifa4984a3dc4b938fb89d6c65c8cda931d643f3c6
Merge branch 'jb_2.5' of git://codeaurora.org/platform/hardware/qcom/display into new2
display: Don't use MDP flip if prerotation is disabled

Change I7fd18226d8337b2cd9341d709c2bd030eff881f7 introduced the
flip operations to MDP, but those depend on prerotation. On
devices with disabled prerotation (like the mako), this causes
artifacting (horizontal mirroring) with 180 rotations.

Change-Id: I6f7d03a12a1315d5bdd9c8b32b1f2289274738a5
external: memset commit struct

Change-Id: I5e6d046f2fdff54fdd58aaca583c0ae8038a9a63
hwc: Remove buffer_fence definition as it is not used

Change-Id: If5f4beceda0229c9f48b6b1ee74e23a95f14863a
overlay: Do not unset overlay for MSMFB_NEW_REQUEST

Change-Id: I40c21964db91e098f6f445e7860fefd09dcad768
display: Add target specific flag to support Venus color format

Venus color format is not supported on older platforms. Add target
specific flag in display hal and define Venus macros to zero for
older platforms.

Change-Id: I38141ae870e255a0e54ce9fde46fe6cc3415f179
display: Standardize log-tags for qcom display logs.

Change-Id: I75bc2d8db8d64994097d6b744f357c29c9a5717a
hwc: User Layercache for external display

Change-Id: Ibca92e1470ef72dc02d16d4ef8c05f1a1d2d485c
gralloc: Mark framebuffer as ION memory

Change-Id: I859d4d03b62279b7e66ba52e3215fe7394a63434
hwc: Fix issue with Layercache

When MDP comp is done the layer cache
is not reset. Calling the layer cache updated
after MDP comp is configured ensures that the
cache is reset correctly.

Change-Id: I9fc3ddd713ceac4be708e33782c3661e758dfcb9
Only build CAF display variant when requested.

Change-Id: I273b9e16afa011445e185fdaf1e7cf2f029b077c
Update include paths

Change-Id: I463eb0a6693ec5da41118f132d8dcdb0d11e4be8
overlay: Bring back debug.mdpcomp.maxlayer

 * We're having underrun issues with 4-layer composition. It generally
   works, but when the system CPU ramps down and the device is mostly
   idle, underrun is happening.
 * Limiting to 3 layers solves the problem temporarily on these devices.
 * Readd the option so that the issue can be debugged without afflicting
   our current users with massive amounts of flickering.

Change-Id: I7ab7d013f65eaf12a3d21a91229dcaad6a815069
libcopybit: Correct AOSP license marking.

Change-Id: I6beffe8a33605132468a76f4ef4221266b954ea5
hwc: Support swap interval zero

Set debug.egl.swapinterval to zero to disable
fences with MDP composition enabling swap interval zero.
This is to measure performance only and will cause tearing.
CRs-fixed: 429343
Change-Id: I1460a02d568e69826800486a9a695d7a8953d4f8
hwc: Handle ext display device conn/disconn requests

  On HDMI connection, two uevents are generated
    1."change@/devices/virtual/switch/hdmi"
    2."change@/devices/virtual/switch/hdmi_audio"
  Since we look for "change@/devices/virtual/switch/hdmi",
  Display HAL will process the hotplug request twice.
  This causes regression on HDCP enabled devices.

  Change involves to check for uevent str with
  "change@/devices/virtual/switch/hdmi" to ensures
  that we process connection request only once.

Change-Id: Ica97fd4ef3c8e1064e7d757ab754bb1ee4a3fcaa
CRs-Fixed: 429803
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
libgralloc: Set alpha mode for MDP base pipe.

This change configures default alpha mode for MDP base pipe
during intialization.

Change-Id: Ibbc7185c4c57979584a5ce66bd4eef8e521165b5
hwc: Support 4kx2k FB for Primary and External.

Add support for 4kx2k FB for primary and external panels.
Change class design to create appropriate version of FBUpdate on boot up based
on the panel resolution.

Change-Id: I216d815d9b81c610aa39e351f7b55736dfa48b43