summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Foss <robert.foss@collabora.com>2016-10-20 16:21:47 (GMT)
committerRobert Foss <robert.foss@collabora.com>2016-10-20 16:21:47 (GMT)
commitdab42ad38364355d02d1545d6ed46f5b8a1a5d1f (patch)
treea498ddc8fed0a3ff2e31f517979fd2f63fc9597b
parent6003ca09f3e0c1e43d4d9650bff98e8eda73b0cd (diff)
downloaddrm_gralloc-dab42ad38364355d02d1545d6ed46f5b8a1a5d1f.tar.gz
drm_gralloc-dab42ad38364355d02d1545d6ed46f5b8a1a5d1f.tar.xz
HACK: Ignore bad version fieldhwc2_fences_v1
-rw-r--r--gralloc_drm_handle.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gralloc_drm_handle.h b/gralloc_drm_handle.h
index be2984a..0f96e53 100644
--- a/gralloc_drm_handle.h
+++ b/gralloc_drm_handle.h
@@ -66,8 +66,7 @@ static inline struct gralloc_drm_handle_t *gralloc_drm_handle(buffer_handle_t _h
{
struct gralloc_drm_handle_t *handle =
(struct gralloc_drm_handle_t *) _handle;
-
- if (handle && (handle->base.version != sizeof(handle->base) ||
+ if (handle && (/*handle->base.version != sizeof(handle->base) || */
handle->base.numInts != GRALLOC_GBM_HANDLE_NUM_INTS ||
handle->base.numFds != GRALLOC_GBM_HANDLE_NUM_FDS ||
handle->magic != GRALLOC_GBM_HANDLE_MAGIC)) {