hikey: gralloc: Allow use of CMA heap instead of fbdev

This allows the hikey gralloc to use the ion CMA heap instead of
the fbdev device. This is needed to move to the drm_hwcomposer
with FBDEV_EMULATION disabled.

This enables support for both legacy kernels using older ion
interface and 4.12+ and newer kernels with the newer ion
interface.

Change-Id: I87d86d7d4f21a40e5c64c2473aea5bb4c5947de0
Signed-off-by: John Stultz <john.stultz@linaro.org>
3 files changed