summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2019-03-04 15:55:34 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-03-04 15:55:34 -0800
commit7da3a9ecf0309102bf4d2f95fe5df030de602ac7 (patch)
tree882484864b1503559e82f1bb4b75d4d82eb1d05e
parente06880737f47df603f216883a2ad46982087d24c (diff)
parent91d8213c9233c8c37bd8a0e2259d4aebd4618512 (diff)
downloadhikey-7da3a9ecf0309102bf4d2f95fe5df030de602ac7.tar.gz
hikey: gralloc: Add element to allow upstream drm_hwc to build w/ HiKey
am: 91d8213c92 Change-Id: I3d21b0a8e7c6f9a9f31e2f8c4368b99b5323caea
-rw-r--r--gralloc/gralloc_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gralloc/gralloc_priv.h b/gralloc/gralloc_priv.h
index 3330eae8..14cb07a8 100644
--- a/gralloc/gralloc_priv.h
+++ b/gralloc/gralloc_priv.h
@@ -170,6 +170,8 @@ struct private_handle_t
union {
int format;
int req_format; /* same name as gralloc960 */
+ /*unused but referenced in drm_hwc */
+ int internal_format;
};
int stride;
union