RFC: HACK: drm_hwcomposer: platformhisi: Add checks for importing non HW_FB usage buffers

The HiSi boards have drm drivers that are implemented using the
cma helper logic. This results in the Import methods failing if
the buffers are not allocated out of CMA memory. Since we only
have single plane in the driver, most buffer allocations are
done out of the system heap, and the gpu will client-compose
those buffers onto the CMA allocated HW_FB buffer.

So to avoid trying to import system buffers that we know will
fail, and flooding the logcat logs with errors, check that we're
only importing HW_FB usage buffers.

Change-Id: I2365e586b39d617a43ddc9a7a41e286b4045894f
Signed-off-by: John Stultz <john.stultz@linaro.org>
1 job for rfc-check-buffer in 1 minute and 1 second