Revert "hwc: Fix reserved field usage"

This reverts commit 1c8c2831c800c550f4b5a61ac5e7828c2687427a.
Revert "gralloc : apply kernel 3.4 fb screeninfo type"

This reverts commit 7071048395405b7407c03c545e0ad9884fd60317.
Revert "hwcomposer: Mark Video layer to GPU if any other layer is marked with GPU"

This reverts commit 44c6d5d182c50fd72ea1656357e00ec88b718854.
Revert "hwcomposer: Store device orientation in hwc context"

This reverts commit e0aeca0469585b86aa74a6fa84d7771ed38015b4.

Change-Id: Ib4f32e6838c7db8754d04e9d88b0c0f029d6f051
hwc: Update to new API

* Updates HWC to use the Jellybean MR1 API
* Remove qcom_ui which was using parts of the old API

Change-Id: I663363547b193d2318aae88f2256a9baed1e3d4b
hwc: Calculate orientation based on framebuffer info

Change-Id: I6c2b6e2f6b5f701bea3b4e49a4e28c66f79a3f5a
hwc: Call blank ioctls

The blank ioctls were never called, we were relying on
the driver to implicitly do this on suspend/resume.
Fix this by calling blank with the right parameters.

Change-Id: Ib969c4e55d9f460255750f07aecefb04a310bd7a
Update for cleanups in hwc interface

Also store the hwc_procs_t* into a dedicated field instead of one of
the hwc_composer_device_1_t::reserved_procs slots, which are supposed
to be NULL so the structure can be extended without breaking backwards
binary compatibility.

Change-Id: I11e6bc713958d854aba418242caa749cbcb21f1d
Fake VSYNC events

Hack for devices without proper working VSYNC, so they
are able to use composer version 1.0

Change-Id: I748959cac936985a78ef864a97adb82eacffd606
Undo reverts to gralloc and hwc, no longer needed, bug resolved

Re-apply "gralloc : apply kernel 3.4 fb screeninfo type""

This reverts commit c4f8902afdb0cce6b2bdd91a2f0191f9735ccf39.

Re-apply "hwc: Fix reserved field usage""

This reverts commit 80a7d2f900d49e8bf4edf5b8c51c047da1a241e1.