Reconcile with jb-mr1-release - do not merge

Change-Id: Idd2734614a14461f536f96cb09060ba7ae6cf1cf
am b35cdfaa: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit 'b35cdfaac392c4d2ca73f21d69cffdd5d8dc52f7':
  hwc: Close unused pipes before PAN
  hwc: Call sync before draw.
  hwc: Fix tearing on HDMI. Call glFinish()
  hwc: Check for the validity of the fb layer
  hwc: Fix dpi values reported
  liboverlay: close all the opened pipes after framework reboot.
  hwc: Add non-zero checks. Move warning log.
  libgralloc: remove pid checks
am 68b88cf2: hwc: Handle non secure buffers

* commit '68b88cf211873e6f2cef0111c500697cd690266e':
  hwc: Handle non secure buffers
am f05c6cf5: am 68b88cf2: hwc: Handle non secure buffers

* commit 'f05c6cf5a4c9f0a84e84ffb1bb80256dee1b3d0f':
  hwc: Handle non secure buffers
am ff4f0254: hwcomposer : Use sysfs to read vysnc information

* commit 'ff4f0254be575a264504687c407e0db2fd5573d7':
  hwcomposer : Use sysfs to read vysnc information
am f9763221: am ff4f0254: hwcomposer : Use sysfs to read vysnc information

* commit 'f976322199240e3a3368550c23ac34c4c84d32b1':
  hwcomposer : Use sysfs to read vysnc information
am 32aa90fc: hwc: Use asynchronous commit ioctl for display post

* commit '32aa90fc54164119fc6f871259005332e7a8dd38':
  hwc: Use asynchronous commit ioctl for display post
am d80a52cb: gralloc:  Send first 2 FB buffers to carveout and next to IOMMU

* commit 'd80a52cbf961d737f6f3beef47b868a581b98591':
  gralloc:  Send first 2 FB buffers to carveout and next to IOMMU
am c4d034f4: hwc: enable dual display on hwc 1.1

* commit 'c4d034f4b8d12953632907d30c0b78856d829579':
  hwc: enable dual display on hwc 1.1
am 7d628ef3: am 32aa90fc: hwc: Use asynchronous commit ioctl for display post

* commit '7d628ef39e5f27eb415878b3c70653f024ad4944':
  hwc: Use asynchronous commit ioctl for display post
am 143dcf6a: am d80a52cb: gralloc:  Send first 2 FB buffers to carveout and next to IOMMU

* commit '143dcf6a192f73907910ad7eea3d6ea557161d74':
  gralloc:  Send first 2 FB buffers to carveout and next to IOMMU
am 3fc2d909: am c4d034f4: hwc: enable dual display on hwc 1.1

* commit '3fc2d909736a404554bf06b8765e4f0a71d86928':
  hwc: enable dual display on hwc 1.1
Reconcile with jb-mr1-release - do not merge

Change-Id: I5cb6343e212500b89c72165f8ec53e72124e84d5
am ff059960: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit 'ff059960b80bbdf65ff3442dc2a399959e06baf7':
am 1ef881ce: don\'t call vsync-ctrl ioctl for same enable value

* commit '1ef881ceed7b39b4034adba23368c2006bfd074c':
  don't call vsync-ctrl ioctl for same enable value
am b27fc5f4: am 1ef881ce: don\'t call vsync-ctrl ioctl for same enable value

* commit 'b27fc5f40fb9286d74467dbeec539b65256b44fd':
  don't call vsync-ctrl ioctl for same enable value
Reconcile with jb-mr1-release - do not merge

Change-Id: I78dcd76446f5f0d6d0d13814fd73d936634cc996
am 229738ce: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '229738ce1920650d8bdd4afce68a1aec51e257a7':
  don't call vsync-ctrl ioctl for same enable value
am eac8965b: hwc: fix some race conditions

* commit 'eac8965bf481a17c6bca291c0864d0eb3c0eac07':
  hwc: fix some race conditions
am c7faa70f: hwc: move enable disable ioctls to vsync thread

* commit 'c7faa70f4a92f020f9d5df20a4ae4bb80be7a022':
  hwc: move enable disable ioctls to vsync thread