Older QCOM devices don't support DISPLAY_COMMIT

Change-Id: I9241adef001f26fb7611623a23e05e559589532f
overlay: Allow Mdss rotator support to be optional

Pre-MR1 kernels doesn't have this.

Change-Id: Ib149b48e84c3bd514f9e984db6076ab049b992c3
pmem: Fix compile error due to wrong type used

Change-Id: Id838089c9e713eb1674c3ba4e1bb4a811864d292
libgralloc : Correct the usage of pmem ioctl

Return error only if the ioctl PMEM_ALLOCATE_ALIGNED
returns negative value.

CRs-Fixed: 375513

(cherry picked from commit b1caf041824cedc268ced33e47a166070ec84f29)

Change-Id: Ie5e926648ff845dc04ce06e5c57e27dd214d1b45
Update and clean makefiles for building in CM-10.1

Change-Id: I6c42b99b86f7ebb30961f73c0f4ba74ab510c957