aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Foss2018-01-16 07:38:41 -0600
committerRobert Foss2018-02-14 10:33:57 -0600
commit8e00d5ffbda7ae7ef6e33aa51aa71a0bf347f488 (patch)
tree8c46168a5b25396ca1d7f143d059bbf56969bfae /android
parented0ed55f3e6c2e1a460d72fed270f6243dcf92a5 (diff)
downloadexternal-libdrm-8e00d5ffbda7ae7ef6e33aa51aa71a0bf347f488.tar.gz
external-libdrm-8e00d5ffbda7ae7ef6e33aa51aa71a0bf347f488.tar.xz
external-libdrm-8e00d5ffbda7ae7ef6e33aa51aa71a0bf347f488.zip
android: Remove member name from gralloc_handle_t
The name member of gralloc_handle_t is no longer needed and has been removed. The version field has also been bumped. Signed-off-by: Robert Foss <robert.foss@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'android')
-rw-r--r--android/gralloc_handle.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/android/gralloc_handle.h b/android/gralloc_handle.h
index 5d8a19ea..9648b006 100644
--- a/android/gralloc_handle.h
+++ b/android/gralloc_handle.h
@@ -59,7 +59,6 @@ struct gralloc_handle_t {
59 int format; /* pixel format (Android) */ 59 int format; /* pixel format (Android) */
60 int usage; /* android libhardware usage flags */ 60 int usage; /* android libhardware usage flags */
61 61
62 int name; /* the name of the bo */
63 int stride; /* the stride in bytes */ 62 int stride; /* the stride in bytes */
64 uint64_t modifier; /* buffer modifiers */ 63 uint64_t modifier; /* buffer modifiers */
65 64
@@ -70,7 +69,7 @@ struct gralloc_handle_t {
70 } __attribute__((aligned(8))); 69 } __attribute__((aligned(8)));
71}; 70};
72 71
73#define GRALLOC_HANDLE_VERSION 1 72#define GRALLOC_HANDLE_VERSION 2
74#define GRALLOC_HANDLE_MAGIC 0x60585350 73#define GRALLOC_HANDLE_MAGIC 0x60585350
75#define GRALLOC_HANDLE_NUM_FDS 1 74#define GRALLOC_HANDLE_NUM_FDS 1
76#define GRALLOC_HANDLE_NUM_INTS ( \ 75#define GRALLOC_HANDLE_NUM_INTS ( \