No description
Find a file
Yiwei Zhang cd6e63c123 minigbm: add GRALLOC_DRM_GET_USAGE query
Low-latency stylus support requires EGL_KHR_mutable_render_buffer, and
front rendering support in mesa requires the bo to be shared between gpu
and composer simultaneously. Either BO_USE_FRONT_RENDERING or forcing
linear with BO_USE_LINEAR is needed upon bo allocation. This change adds
a way for the client to inform gralloc of such info so that the minigbm
backend can choose the proper bo use flags upon allocation.

BUG=b:183507528
TEST=dEQP-EGL.functional.mutable_render_buffer.*
TEST=tast run $DUT arc.Gralloc.vm

Change-Id: Id7da33cea7d62aa9ae035ee3a6767f87874cb6ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2895370
Tested-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
2021-05-24 19:52:23 +00:00
cros_gralloc minigbm: add GRALLOC_DRM_GET_USAGE query 2021-05-24 19:52:23 +00:00
external virtgpu_cross_domain: handle from guest memory 2021-04-30 20:41:42 +00:00
.clang-format minigbm: add clang-format and presubmit hooks 2017-03-31 10:40:27 -07:00
amdgpu.c minigbm: Restrict 256 alignment to grunt 2021-05-07 17:32:52 +00:00
Android.gralloc.mk minigbm: cros_gralloc: refactor for future HALs 2017-06-28 21:50:52 -07:00
Android.mk minigbm: Remove Tegra support. 2021-03-25 17:17:21 +00:00
common.mk minigbm: Remove (c) from copyright notice. 2016-12-17 19:33:05 -08:00
dri.c minigbm:amdgpu: Add ABGR16161616F format 2021-04-27 19:13:41 +00:00
dri.h minigbm: dri,amdgpu: Modifier support. 2020-03-10 15:39:10 +00:00
drv.c minibgm: update GRALLOC_DRM_GET_BUFFER_INFO query 2021-05-05 07:58:40 +00:00
drv.h minibgm: update GRALLOC_DRM_GET_BUFFER_INFO query 2021-05-05 07:58:40 +00:00
drv_priv.h minibgm: update GRALLOC_DRM_GET_BUFFER_INFO query 2021-05-05 07:58:40 +00:00
dumb_driver.c Add vkms support 2020-12-11 18:12:07 +00:00
exynos.c minigbm: reduce use of memset 2020-10-12 21:56:58 +00:00
gbm.c minigbm: add gbm_bo_get_fd_for_plane 2021-04-06 21:20:55 +00:00
gbm.h minigbm: support P010 SCANOUT 2021-04-08 06:55:47 +00:00
gbm.pc minigbm: modify gbm.pc 2019-10-09 09:52:31 -07:00
gbm_helpers.c minigbm: Add FRONT_RENDERING flag 2021-03-18 23:39:54 +00:00
gbm_helpers.h minigbm: standardize naming of buffer creation flags 2017-10-02 17:27:17 -07:00
gbm_priv.h minigbm: add clang-format and presubmit hooks 2017-03-31 10:40:27 -07:00
helpers.c minigbm: add drv_resolve_format_helper 2021-02-04 19:14:50 +00:00
helpers.h minigbm: virtgpu/cross_domain: next generation virtgpu backend 2021-02-17 07:25:37 +00:00
helpers_array.c minigbm: introduce drv_array 2017-11-09 00:38:12 -08:00
helpers_array.h minigbm: introduce drv_array 2017-11-09 00:38:12 -08:00
i915.c minigbm: Round up stride to power of two for ADL-P 2021-05-07 03:23:09 +00:00
LICENSE minigbm: Add a LICENSE file 2017-04-21 21:57:32 -07:00
Makefile minigbm/msm: Add workaround for waffle 2020-08-10 15:50:39 +00:00
mediatek.c minigbm/mediatek: allocate NV12 video buffers for MT8192 2021-04-15 17:58:46 +00:00
minigbm_helpers.c minigbm: Remove Tegra support. 2021-03-25 17:17:21 +00:00
minigbm_helpers.h minigbm: consistent style 2021-02-03 04:22:38 +00:00
msm.c minigbm: run presubmit.sh 2021-04-30 20:41:41 +00:00
OWNERS minigbm: modify OWNERS 2021-02-23 01:01:35 +00:00
PRESUBMIT.cfg minigbm: fix typo in PRESUBMIT.cfg 2017-05-20 03:55:21 -07:00
presubmit.sh minigbm: i915: use local i915 drm header 2020-11-25 22:35:14 +00:00
rockchip.c minigbm: add drv_resolve_format_helper 2021-02-04 19:14:50 +00:00
util.h amdgpu: make libdir work on stock Linux 2020-01-21 20:43:23 +00:00
vc4.c minigbm: vc4: add YUV support 2020-10-23 22:32:17 +00:00
virtgpu.c virtgpu_cross_domain: handle from guest memory 2021-04-30 20:41:42 +00:00
virtgpu.h virtgpu_cross_domain: handle from guest memory 2021-04-30 20:41:42 +00:00
virtgpu_cross_domain.c virtgpu_cross_domain: handle from guest memory 2021-04-30 20:41:42 +00:00
virtgpu_virgl.c minibgm: update GRALLOC_DRM_GET_BUFFER_INFO query 2021-05-05 07:58:40 +00:00