No description
Find a file
Gurchetan Singh c67f9e422c minigbm: flatten gralloc handle
Many GL drivers assume that first value in the native_handle data
array is the fd associated with the graphics buffer, i.e,

int prime_fd = handle->data[0];

This in our case until 4bfc7401. We added 64-bit modifiers in
our import data, so all values in the drv_import_fd_data struct get
8-byte aligned. In our cros_gralloc_handle, 4 bytes of padding
are added between native_handle_t and drv_import_fd_data to make
the alignment work. To counter-act this, we can stop embedding
drv_import_fd_data in cros_gralloc_handle.

BUG=chromium:616275
TEST=Mali driver doesn't return an error when running cros_gralloc
CQ-DEPEND=CL:414585

Change-Id: Ib6c165e98126468b96fa7119d5ca13eebee1655c
Reviewed-on: https://chromium-review.googlesource.com/414536
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
2016-12-09 03:30:16 -08:00
cros_gralloc minigbm: flatten gralloc handle 2016-12-09 03:30:16 -08:00
amdgpu.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
cirrus.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
common.mk Import minigbm 2014-09-13 01:34:56 +00:00
drv.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
drv.h minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
drv_priv.h minigbm: rename mutex 2016-12-01 00:50:56 -08:00
evdi.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
exynos.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
gbm.c minigbm: Fix cursor and scanout flags 2016-12-01 00:50:54 -08:00
gbm.h minigbm: add new GBM_BO_IMPORT_FD_PLANAR 2016-10-21 21:20:47 -07:00
gbm.pc rename pc file from libgbm.pc to gbm.pc to match mesa 2014-11-12 03:54:03 +00:00
gbm_helpers.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
gbm_helpers.h minigbm: Switch to <drm_fourcc.h> 2016-11-28 23:59:30 -08:00
gbm_priv.h minigbm: Refactored minigbm on top a private API 2016-08-12 22:44:40 -07:00
gma500.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
helpers.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
helpers.h minigbm: allow for multiple {format, modifier} pairs in combination list 2016-12-06 19:55:08 -08:00
i915.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
list.h minigbm: Fix cursor and scanout flags 2016-12-01 00:50:54 -08:00
Makefile minigbm: Compile with large file support 2016-11-09 09:41:31 -08:00
marvell.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
mediatek.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
rockchip.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
tegra.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
udl.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
util.h Support multi-plane buffers. 2016-01-23 06:40:51 -08:00
vgem.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00
virtio_gpu.c minigbm: rename DRV_BO_USE_* to BO_USE_* 2016-12-07 13:02:04 -08:00