Merge "Merge "liboverlay: Rotator hangs on playing VP9 tile encoded video""
Merge "Merge "Merge "liboverlay: Rotator hangs on playing VP9 tile encoded video"""
Invoke a padding round in certain use-cases.

* In some use-cases, it is possible that there are
no AppBuffer layers on the external/virtual layer-list
during which all the pipes will be allocated to the
primary. When layers do comeup on external/virtual
layer-list, subsequent overlay sets fail.

* This change ensures that in such cases, we invoke a
padding round on all the displays to free up the
hw resources which can be used in subsequent cycles.

Change-Id: Ifac0b8f51a8719eb55b11010d05b8d11352db054

Conflicts:
	libhwcomposer/hwc.cpp
	libhwcomposer/hwc_mdpcomp.cpp
	libhwcomposer/hwc_utils.cpp
	libhwcomposer/hwc_utils.h
Merge "Merge "liboverlay: Rotator hangs on playing VP9 tile encoded video""
Merge "Merge "Merge "liboverlay: Rotator hangs on playing VP9 tile encoded video"""
Merge "Merge "liboverlay: Rotator hangs on playing VP9 tile encoded video""
Merge "Merge "Merge "liboverlay: Rotator hangs on playing VP9 tile encoded video"""
Merge "Merge "liboverlay: Rotator hangs on playing VP9 tile encoded video""
Merge "Merge "Merge "liboverlay: Rotator hangs on playing VP9 tile encoded video"""
Merge "Merge "liboverlay: Rotator hangs on playing VP9 tile encoded video""
Merge "Merge "Merge "liboverlay: Rotator hangs on playing VP9 tile encoded video"""
Merge "Merge "liboverlay: Rotator hangs on playing VP9 tile encoded video""
Merge "Merge "Merge "liboverlay: Rotator hangs on playing VP9 tile encoded video"""
Merge "Merge "liboverlay: Rotator hangs on playing VP9 tile encoded video""
Merge "Merge "Merge "liboverlay: Rotator hangs on playing VP9 tile encoded video"""
gralloc: Set default value for implementation defined formats

For implementation defined formats which go via HWC, set the
default value to RGBA8888

Change-Id: Ia1abcbd74c8b44baee34f39cda28740031a64b7c
libhwcomposer: Synchronize Uevent and Composition threads

When Uevent thread needs to wait for composition cycle to be completed
It should be signaled by the Condition variable rather than waiting
based on 2 vsync cycles of sleep, which is not guaranteed.

Change-Id: I5a868c75393d201791e417f5450a8164c6025d68
liboverlay: Correctly roundoff the Downscale factor

Rotator needs to be engaged for downscale factor
1.3 and above to prevent excessive load on mdp
resulting in underruns while playing 1080p Video
on 720p panels

Change-Id: Ie35d7f90ece080e8f318118974d62f86852df64b
CRs-Fixed: 620313
Merge "libhwcomposer: Synchronize Uevent and Composition threads"
Merge "liboverlay: Correctly roundoff the Downscale factor"