No description
Find a file
Vincent Palatin ab9e5e0d70 minigbm: ensure drm_prime_handle struct is correctly initialized
the 'prime_handle' variable has a 'flags' and the kernel code for
DRM_IOCTL_PRIME_FD_TO_HANDLE will fail if 'flags' contains something
else than DRM_CLOEXEC or 0.
Right now, the 'flags' field is uninitialized and DRM initialization
fails on some VM configs with kernel 4.4.

BUG=chromium:591626
TEST=run null_platform_test and Chrome browser using the arm64-llvmpipe
overlay and kernel 4.4 on QEMU VM.

Change-Id: Ieac8eb280fe14f1e268f8869dcc9fe46c1bb9599
Reviewed-on: https://chromium-review.googlesource.com/337970
Commit-Ready: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
2016-04-13 18:37:16 -07:00
cirrus.c minigbm: constify and staticify functions/structs 2016-02-29 14:19:28 -08:00
common.mk Import minigbm 2014-09-13 01:34:56 +00:00
evdi.c add GBM_BO_USE_LINEAR flag for bo creation 2016-02-27 03:25:52 -08:00
exynos.c minigbm: constify and staticify functions/structs 2016-02-29 14:19:28 -08:00
gbm.c minigbm: ensure drm_prime_handle struct is correctly initialized 2016-04-13 18:37:16 -07:00
gbm.h add GBM_BO_USE_LINEAR flag for bo creation 2016-02-27 03:25:52 -08:00
gbm.pc rename pc file from libgbm.pc to gbm.pc to match mesa 2014-11-12 03:54:03 +00:00
gbm_priv.h add GBM_BO_USE_LINEAR flag for bo creation 2016-02-27 03:25:52 -08:00
gma500.c minigbm: constify and staticify functions/structs 2016-02-29 14:19:28 -08:00
helpers.c Support multi-plane buffers. 2016-01-23 06:40:51 -08:00
helpers.h Support multi-plane buffers. 2016-01-23 06:40:51 -08:00
i915.c minigbm: constify and staticify functions/structs 2016-02-29 14:19:28 -08:00
Makefile minigbm: Set library soname to libgbm.so.1 during link 2015-01-30 23:04:33 +00:00
marvell.c minigbm: constify and staticify functions/structs 2016-02-29 14:19:28 -08:00
mediatek.c minigbm: constify and staticify functions/structs 2016-02-29 14:19:28 -08:00
rockchip.c minigbm: constify and staticify functions/structs 2016-02-29 14:19:28 -08:00
tegra.c minigbm: constify and staticify functions/structs 2016-02-29 14:19:28 -08:00
udl.c add GBM_BO_USE_LINEAR flag for bo creation 2016-02-27 03:25:52 -08:00
util.h Support multi-plane buffers. 2016-01-23 06:40:51 -08:00
virtio_gpu.c minigbm: Add virtio_gpu driver. 2016-03-11 19:06:37 -08:00