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>
main
Robert Foss 2018-01-16 14:38:41 +01:00
parent ed0ed55f3e
commit 8e00d5ffbd
No known key found for this signature in database
GPG Key ID: B79A0B6A11EEF727
1 changed files with 1 additions and 2 deletions

View File

@ -59,7 +59,6 @@ struct gralloc_handle_t {
int format; /* pixel format (Android) */
int usage; /* android libhardware usage flags */
int name; /* the name of the bo */
int stride; /* the stride in bytes */
uint64_t modifier; /* buffer modifiers */
@ -70,7 +69,7 @@ struct gralloc_handle_t {
} __attribute__((aligned(8)));
};
#define GRALLOC_HANDLE_VERSION 1
#define GRALLOC_HANDLE_VERSION 2
#define GRALLOC_HANDLE_MAGIC 0x60585350
#define GRALLOC_HANDLE_NUM_FDS 1
#define GRALLOC_HANDLE_NUM_INTS ( \