exynos4: update gralloc from insignal, modify it to work with libsecion
exynos4: libhwcomposer: update for new api version
exynos4: hwcomposer: add uevent vsync handling
exynos4: gralloc: higher number of buffers for page flipping
libhwcomposer: keep window 2 open

Window 2 is used to query global info about the LCD.

Kanged from patch for aries by Greg Hackmann <ghackmann@google.com>

Change-Id: Idf754d4536337d6c06652c1d0c744dc7c0936b15
Revert "exynos4: gralloc: higher number of buffers for page flipping"

This reverts commit 8b9deaf74eba92bac8725666c2f99e51412a5b6f.
gralloc:  Send first 2 FB buffers to carveout and next to UMP

Taken from QCOM gralloc:

commit d80a52cbf961d737f6f3beef47b868a581b98591
Author: Saurabh Shah <saurshah@codeaurora.org>
Date:   Tue Oct 2 14:32:40 2012 -0700

gralloc:  Send first 2 FB buffers to carveout and next to IOMMU

Gralloc uses the GRALLOC_USAGE_HW_FB flag to allocate memory from carveout.
This is fine for primary framebuffer, but for external framebuffer we need IOMMU
heap buffers, since the ioctls for external work with those.

Ideally, the primary buffers also need to come from IOMMU heap, which is ongoing
work. This patch allocates the first 2 FB buffer requests (assuming they are for
    primary) from carveout and allocates all subsequent buffers from IOMMU heap.

Bug: 7124159
Change-Id: Ie53b2e1e7fcac136acd2d251f39cefe367fc7125
Signed-off-by: Iliyan Malchev <malchev@google.com>
gralloc: hello }, what are you doing there?

Change-Id: Idf59890cb41e97004039a71e4b32f3d263b89482
gralloc: hello }, welcome back at your new home

Change-Id: I86f80b78325f37f2d46b0c3b08818ab1274242e9
gralloc: do it the android way

Change-Id: I54d7cfcbf39a97a340cf5b807537c39584c0e50a
gralloc: avoid using framebuffer

Change-Id: I216b4b67f09729d00d337512ab17ff378f218a33
gralloc: add HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED for video

Change-Id: I340b2bc065490797889aa17c5396cf40e0e7d6ff
gralloc: Let } rejoin its people

This is the story of poor }.  It is a painful saga.

Samsung left } floating inside the galaxy of framebuffer_alloc,
unable to join its brethren on the planet of STANDARD_LINUX_SCREEN
when they were shifted out of the #ifdef dimension.

codeworkx brutally eliminated poor } from the galaxy, it was
nowhere to be seen.  codeworkx then took pity on the } and
placed it back on the planet of STANDARD_LINUX_SCREEN, but
placed it on a continent where it was all alone, unable to
ever see its mate {

Take pity on poor }, let it rejoin its people on the correct
continent of the planet STANDARD_LINUX_SCREEN, so they may
all shift out of the #ifdef dimension together.

Change-Id: I7a700b73ccd2c91f91d9af3704930759f46978c7
gralloc_priv: Remove unused yaddr member

Mobile's blobs don't appear to have been compiled with this
present in their headers, and none of the Insignal sources
actually use this.

Change-Id: Ib8611f6da90ea78aa8eec451c76f56ddb32b45a4
exynos4: gralloc: Do FIMC1 memory allocations from ION instead of FIMC1

Mobile's blobs behave this way, except they don't do the
4k alignment done by the FIMC1 allocs.

The 4k alignment should fix issues such as NHK World Live TV,
but fails to do so.

Change-Id: I1ee4cd13e23f9f2f6c6616ee9eed1096b571a82c
exynos4: gralloc: fix fimc1/ion logic

Change-Id: I0d125275e4d9ec3b6368572b9c0aa1033969c98d
gralloc: Back out hacks now that Mali-derping is fixed

Two reverts squashed, due to Mali-derping being fixed
in frameworks/native:

Revert "gralloc: avoid using framebuffer"

This reverts commit 5125ccc5b6d9a4bf1256a4a57f6d5f7d0ebe26c9.

Revert "gralloc:  Send first 2 FB buffers to carveout and next to UMP"

This reverts commit d288deb284f205c6b0eae04b27377c902afaf24e.

Change-Id: I530dc255b7543e03d0e8277d3ad12ed11d6649ab
exynos4: libhwcomposer: disable debugging

Change-Id: Iead8beee1c2c40b3c7ce1277c84dc180fb96ecb8
Merge "gralloc: Back out hacks now that Mali-derping is fixed" into mr1-staging
hwc: Pull in updates from exynos3 hwc

Change-Id: I61e1556da3e2d1e9a8b9c22163f4f11982bda7dc