display: Reset metadata pointer to NULL during unmap.

Initialize metadata pointer in the buffer handle to NULL after
unmapping the buffer pointer

Change-Id: I930a2d21a6f259426949d7aa58bd07f1f58839c0
CRs-Fixed: 434388
Revert "display: Reset metadata pointer to NULL during unmap."

This reverts commit 49be4c74d90d377210aa7231451094110eea407e

Change-Id: I307b99d51d723842dd204d083a864e37fedc422e
libcopybit: update the target config_mask for transformation

With the new C2D optimization, the layer transformation is
passed through the config_mask.  If two layers had same
transform then the transform info was lost, fix that by
updating the config_mask when the layer has transformation info

Change-Id: Idecb5b16a65269fd13eead9a2de27a4756435583
CRs-fixed: 453083
Merge pull request #3 from CyanogenMod/cm-10.1

Cm 10.1