overlay : Check for WI-FI-D support to set number of framebuffers

Change-Id: Id7998aef6070ae9062634329061e1a8d66b911f5
qdutils: Default to GPU composition

If composition type is not set, default to GPU composition.
This is because CPU composition is not supported from MR1 onwards

Change-Id: I951dcb5586a8dbcfbe73cd7292d0f1690d6528ba
overlay: Remove unnecessary lock.

Remove the unnecessary lock used in setter and getter of external.

Change-Id: If752c212e4c28a81db5c6957d0e751444e23ff93
gralloc: Remove update rect

SurfaceFlinger does not use this feature any more.
Removing this to avoid usage of reserved flags.
If this is needed again, it can be added with metadata
in the display commit ioctl

Change-Id: Iaf3f14a910ad64c83abb0910fad4a999b663c545
overlay: Swap flips on 90 only for older mdp version.

Older mdp rotator does 90 first and flip next,
forcing HAL to swap flips, in presence of 90.

Newer mdp does flip first and 90 next, owing to DMA pipe.
(Also similar to GPU flip handling). So we can pass flips as-is.

Change-Id: I379509a07e45966262005666e7727e7923079d3a