Revert "libhwcomposer: print a log if there is any delay in vsync read."

This reverts commit 624cef4052af2995c6360bca71f6acbf529cbe3a.
This log is misleading as it does not print the actual vsync time
when vsync is disabled then enabled. It prints accumulated time
from vsync disable to next vsync enable.

Change-Id: I0ca3c9bc1e07a048e4563254ab83a3dd6b8c55ec
hwc: Remove need for intermediate buffer for c2d composition

A-Family device NON PRO 8960 uses copybit composition. The
intermediate buffers allocated are not needed when we can
compose onto fb frame.

Change-Id: I13fd2deb328a3ef4b6738cfe7030fe67ea7bd6c6

Conflicts:
        libhwcomposer/hwc_copybit.cpp
        libhwcomposer/hwc_utils.cpp
libhwcomposer: Disable mixed mode on plane alpha downscaling

When mixed mode is enabled while a layer contains
plane alpha and requires downscaling, part of the
layer containing plane alpha is exhibited as black area.

Change-Id: If47fa773846cbead3d6b2cad06ea80872233a908
hwc: Invalidate on receiving PANEL_ALIVE=0 status

Invalidate on receiving PANEL_ALIVE=0 status, otherwise
during static wallpaper, panel will be reset only after
next screen update.

Change-Id: I6f5264367c8bd889b9103ed74641ac4a60538b57
CRs-Fixed: 591454
hwc: Force rotator for resolution change only if one yuv

Force rotator for resolution change only if there is one
YUV layer on primary display.

CRs-Fixed: 609450

Change-Id: I8f17de491ccfbbbfa6885eb9a35037edb2ef1b87
gralloc: Allow legacy devices to use PMEM for ADSP (camera).

Partially bring back PMEM support for legacy devices having proprietary camera
libraries stuck in PMEM. This change allows these devices to continue using
PMEM for the camera, and ION for everything else.

Change-Id: I1afbc7d137b3d49b2ab3e53917b16fd920ea140b