Partial implementation of "display: Clean up gralloc"

Make the new display API flags available under QCOM_BSP

Originally...
* Remove pmem and ashmem implementations
* Remove usage of RefBase
* Reduce log verbosity

Change-Id: If8ef543d236e5305bd5430f4f9c62c51b3a13787

Conflicts:

	liboverlay/pipes/overlayGenPipe.h
display: Add display metadata in buffer handle

Allocate extra space for metadata in buffer handles
Provide api to map this space in client process and set the metadata

Change-Id: I8bca8448670d4aa88d439320faf402dae30458f8
(cherry picked from commit 13933c5ea7b20a6862cefef5f97d0369cbc12b00)
Display ::Use proper ion heap id

Change the MM heap to CAMERA heap for 7627a in use case
1.Intermediate stretch of low resolution clips
2.Software conversion of Y12 format

CRs-Fixed: 383115
(cherry picked from commit ab25cb4818d9b87886678972f2861bacc93c580a)

Change-Id: I659c48b21bb9f3e24fdc3ddeb907072db38de794

Conflicts:

	libcopybit/copybit.cpp
HWC: use uncached buffer for tmp yv12 and tmp stretch buffer.

CRs-fixed: 396574
(cherry picked from commit 31311da328cbe2229fcf8d8d8e276ec64005bcb3)

Change-Id: Ic68645f1f0706fd5801508f744613200b6834a05
display: Add display metadata in buffer handle (pt II)

Allocate extra space for metadata in buffer handles
Provide api to map this space in client process and set the metadata

Change-Id: I8bca8448670d4aa88d439320faf402dae30458f8
(cherry picked from commit 13933c5ea7b20a6862cefef5f97d0369cbc12b00)
Display : Implement fallback to system heap

This change implements fallback to system heap , in case of
allocation failures on MDP3.0 targets. With this change the
SF memory requirement will reduce.

(cherry picked from commit 5166360601561ebe083ef7fff4e0a66d048bc4a1)

Change-Id: I6ca02de0ac19f1a99c9fadc0e91552a02daa1ce3

Conflicts:

	libhwcomposer/hwc_copybit.cpp
	libhwcomposer/hwc_copybit.h
Fix build break on non-QCOM_BSP

Change-Id: I2bfac4f94c460a998ec9f48698a2507baa5507c6
libexternal: fix for external display posting
- instead of FBIOPUT_VSCREENINFO ioctl, use the new ioctl
  OVERLAY_PIPE_COMMIT to update the external display
gralloc: add back support for custom buffer sizes

* QCOM_BSP restricted
* needs support in frameworks/native/libs/ui/GraphicBufferAllocator.cpp