Revert "hardware/qcom/display: Remove glfinish call"

This reverts commit 95bc6a5c6dd76a432baaa6554abd0f4f7ca481f1.

Without glFinish(), in few corner cases; application is trying to
lock the buffer for write, while the read lock is still held.

CRs-Fixed: 430212

Change-Id: I9e3a22ca3496ef42e8dce5d565bcfe79fd427a4d
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
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
HWC: use uncached buffer for tmp yv12 and tmp stretch buffer.

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

Change-Id: Ic68645f1f0706fd5801508f744613200b6834a05
gralloc: Fix msm_ion include

Change-Id: Ibbd93a14fca7c13f71ff2bb74a5ce14bd24cbe9c
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
Fix build break on non-QCOM_BSP

Change-Id: I2bfac4f94c460a998ec9f48698a2507baa5507c6
Merge branch 'jellybean' into MiniCM10

Conflicts:
	libgralloc/framebuffer.cpp

Change-Id: I098c7a5b8a2db2d46ebdc928767a225cf17839e1