surfaceflinger: Consolidate display orientation compensation hooks

Dedupe rotation calculation code and make rotation a statically
available property in the DisplayDevice
Change-Id: Ic517ab0d2c05026cd6fa46d664aab7926be17b62
Merge "surfaceflinger: Consolidate display orientation compensation hooks" into android-4.4
fix hardware issues in capri based devices



[PATCH 1/4] binder: add compat symbols

Required for libtvservice_binder.so on I9082

[PATCH 2/4] SurfaceFlinger: ifdef EVENT_ORIENTATION
 
Some HWC implementation spam the log on unknown event

[PATCH 3/4] sf: add CAPRI_HWC compatibility

[PATCH 4/4] sf: CAPRI_HWC: fix rotation artifact

All this required for capri based devices.

Change-Id: Ib6b6a4563c6d6c5e142aa987889553772fcec891