msm8974: Fix build with current msm mdp kernel header

Commit 999ee56abce2a0f25b3d4518a8a225fe74b3aae5 introduced a helper macro
to calculate the actual mdp revision. Use this here.

Change-Id: Ied0e0e32a4ce41acd367b81a3710c0b25559741d
Revert "Under CM, always assume kernel source is present"

This reverts commit 352244ae52a2192f9e1ca6629c4f09db956372ba.

Change-Id: I4c0403cb3a80871acd191893931478f118d4928c
Only build when no variant is selected

Change-Id: I2db04a48cc88d14e6c3bdabdbb9a006dbcd4bf5e
msm8960: fix build

* QCOM_BSP should be set via board for the individual device and not globally for all msm8960 boards

Change-Id: I642f13a2806b0952a0b6b825c7e17f41f5516d35
msm8960: gralloc: fix compilation on QCOM_BSP targets

Change-Id: Id6a940003959157f5adaba3e308685cad14813b9
msm8960: libcopybit: fix c++11 narrowing

Change-Id: I6a497fd7acd521d18ccdb3092b93464aa6847fab
msm8974: gralloc: fix compilation on QCOM_BSP targets

Change-Id: Ibf75ca07c63f62845eaf369fb712b7aa537c740e
msm8974: Allow targets to disable Adaptive Display support

Change-Id: Iee43be40b78fa86209bc14fedd41565ebe3883f5
Check for kernel source and determine which headers to include

Change-Id: I21000f9bca30a5ff93f646a988977121dbafd953
msm8974: flag the recent ION heap mask field change

Change-Id: Id320135dd14ac28bc202adbab72aa1693b998fa4