commit | 30941517aac192a55dc358479e27dc6a6b3bc04e | [log] [tgz] |
---|---|---|
author | John Stultz <john.stultz@linaro.org> | Thu Jan 04 14:03:55 2018 -0800 |
committer | John Stultz <john.stultz@linaro.org> | Wed Jul 11 15:59:32 2018 -0700 |
tree | cbc93cb492ccb96289b71252b92a983aa048831d | |
parent | 25d6129aed2ffa8a7d502c3703f82500ecc3a2ad [diff] |
hikey: gralloc: Add union alias and additional fields to improve interop w/ hikey960 gralloc Since we use the gralloc_priv.h for hikey960 and hikey, try to align the variable names a bit using a union. This allows drm_hwcomposer importer to need less conditionally built code. Also add logic to provide a byte_stride value, which the hikey960 gralloc and drm_hwcomposer uses. Change-Id: I9a26cd244b1790afbf74138504bb0eedd44d94d4 Signed-off-by: John Stultz <john.stultz@linaro.org>