Revert "Revert "display: Add support orientation control on ext display""

This reverts commit a880a8a0e7ab19c9b9286c1750cfa6b4625ef849.

Conflicts:

	libhwcomposer/hwc_utils.cpp

Change-Id: I0a2675afd0c50538036f522dddcd8dca51f45e14
gralloc: Fix some differences with compatibility code

Change-Id: I0f41ff987b6b3f554e11ea2f259d778c8cee7fa2
Fix compilation with GCC 4.8

GCC 4.8 barfs when trying to find the calls in hwc_fbupdate.cpp
to functions defined in hwc_utils.h and defed inlined in hwc_utils.cpp

Change-Id: I74433b1125fedd528138e00175849765dd0f6349
Signed-off-by: nuclearmistake <nuclearmistake@gmail.com>
Merge remote-tracking branch 'cm/cm-10.2' into HEAD

Change-Id: If63e43124a743ff0525bd1afb72bab002443a72a