hikey: gralloc: Treble changes

This patch provides gralloc changes that are needed
to work with FULL_TREBLE enabled

Credit for this patch goes to Vishal Bhoj <vishal.bhoj@linaro.org>
who basically was the original author and magician
who got things working.

I've only refactored and split up his changes to help
with the submissions.

Change-Id: I567bce33f7eb476dd38bbbe3a9a07c01b5c395f6
Signed-off-by: John Stultz <john.stultz@linaro.org>
1 file changed