display: Revert some problematic changes for now.

 * Some devices are going to experience a vast array of problems while
   attempting to utilize these new features. Let's just revert for now
   to stop the insanity.

Revert "hwc: Rotate RGB layer using MDP Rotator"

This reverts commit 063d593d0de0390b1b830105373a9a83db4f2e52.

Revert "overlay: Change max rotator sessions to 4 and log level"

This reverts commit f658ca58fe5341e8867a76447bd361c066db345f.

Revert "hwc/overlay: Fix decimation / bwc bugs"

This reverts commit ef0cc725f855a1cbf1cfa5a79d6e048f2f554e27.

Change-Id: Id8dad791ee94d489b1e3763518f893e281f9dcc2
hwc: Close release fence fd on buf sync ioctl failure

This change closes the release fence fd in the event that
a failure occurs during the buf sync ioctl. This is additional
sanity to ensure that we are not leaking any fd's in userspace.

Change-Id: Ic303aa2a2ed20244605b0f0bd91145e8f3fc8f1b
copybit: Export c2d header

On open source builds, adreno libs don't get built, due to which
c2d headers aren't exported. Export it from the display HAL.

Change-Id: I6ed1d1fcf3f99ba83d5f194e40d0b42bd7b4d566
copybit: Minor fix in opening copybit device

Proper handing of opening copybit device.

Change-Id: Id54ca463fe34764a1a3ffe90a71d8eec7cfefeb3
overlay: Trace all MDP ioctls

Add trace points for all MDP ioctls so that they show up in
systrace.

Change-Id: I4425176c31934963a39b8f59a91f16535927d99d
overlay: Remove usage of scale header

Remove usage of scale header and do not create or destroy objects.
the programScale() function exported out of libscale.so will
internally manage objects.

This frees up overlay from relying on scale.h which may not be
exported by libscale.so to a known location if only binaries are
shipped.

Change-Id: If6970541e2eb0ee2bdb907c73ed3534fc22e9dd1
Merge remote-tracking branch 'cm/cm-11.0' into kk4.4