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>
hwc: bring back fb support for primary for mdp303.

Change-Id: I98cf0fdae6b9b1100c97ac319ab1c321f55fe507
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
display: Use direct project pathmap

Change-Id: I95c38dca68831207d38f0b1b630e46280c734840
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
gralloc: Allow legacy devices to use PMEM for ADSP (camera).

Partially bring back PMEM support for legacy devices having proprietary camera
libraries stuck in PMEM. This change allows these devices to continue using
PMEM for the camera, and ION for everything else.

Change-Id: I1afbc7d137b3d49b2ab3e53917b16fd920ea140b
gralloc: our prebuilt camera lib needs the ADSP heap to be first
Merge pull request #1 from sachinthomaspj/cm-12.0-caf-legacy
Merge branch 'cm-12.0-caf-legacy' of https://github.com/Kirmaniarslan/android_hardware_qcom_display into cm-12.0

Updates