No description
Find a file
Robert Mader d73fa7ff37 minigbm: amdgpu: Update plane count in bo_import
This is required for importing multi-plane modifiers where the
format plane count is lower (usually `1`). It will be used
by Exo for v3/4 of the `zwp_linux_dmabuf_v1` Wayland potocol,
allowing Wayland clients (and thus all clients that build on
the Wayland support) to use explicit modifiers which again
can increase performance on many GPUs.

Also add another fallback path to `dri_num_planes_from_modifier()`
for cases when `queryDmaBufFormatModifierAttribs()` fails and do
some refactoring there. Without this, some test apparently fail.

This includes the amdgpu part of
commit 1a733377e9, partially reverting
commit 853b8542fb.

Bug🅱️224580219
Change-Id: I93b64123420b39f3b83ff1bbbb9c59ddf4bc6105
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3568489
Reviewed-by: Bas Nieuwenhuizen <basni@chromium.org>
Tested-by: Robert Mader <robert.mader@collabora.com>
Commit-Queue: Robert Mader <robert.mader@collabora.com>
2022-05-04 08:47:25 +00:00
cros_gralloc gralloc: Hide dmabuf heap allocator behind of a flag 2022-04-01 10:00:09 +00:00
external virtgpu_virgl: update virgl_hw.h from upstream 2022-04-13 03:21:23 +00:00
.clang-format minigbm: add clang-format and presubmit hooks 2017-03-31 10:40:27 -07:00
amdgpu.c minigbm: amdgpu: Update plane count in bo_import 2022-05-04 08:47:25 +00:00
common.mk COIL: Migrate master to HEAD 2022-03-16 11:58:01 +00:00
dri.c minigbm: amdgpu: Update plane count in bo_import 2022-05-04 08:47:25 +00:00
dri.h amdgpu: Use bo_release to free DRI images. 2021-11-12 14:06:35 +00:00
drv.c drv: Add new bo_release driver callback. 2021-11-12 14:06:34 +00:00
drv.h i915: Add render compression support for Gen-12 2021-10-20 09:10:34 +00:00
drv_array_helpers.c minigbm: refactor driver helpers 2021-10-01 18:35:11 +00:00
drv_array_helpers.h minigbm: refactor driver helpers 2021-10-01 18:35:11 +00:00
drv_helpers.c gralloc: move the logic to strip BO_USE_HW_VIDEO_ENCODER to the backends 2021-10-05 11:05:13 +00:00
drv_helpers.h minigbm: refactor to add unified resolve_format_and_use_flags helper 2021-10-05 03:43:18 +00:00
drv_priv.h drv: Add new bo_release driver callback. 2021-11-12 14:06:34 +00:00
dumb_driver.c dumb_driver: Support R8 camera buffers 2022-04-09 14:40:27 +00:00
gbm.c minigbm: conditionally fallback to strip scanout use_flag 2021-09-22 19:47:06 +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
i915.c minigbm: i915: Update plane count in bo_import 2022-04-20 01:51:54 +00:00
LICENSE minigbm: Add a LICENSE file 2017-04-21 21:57:32 -07:00
Makefile minigbm: cleanup exynos backend leftovers 2021-10-12 02:45:09 +00:00
mediatek.c minigbm: mediatek: check BO_USE_CAMERA_WRITE flag on camera preview case 2022-04-08 09:24:14 +00:00
minigbm_helpers.c minigbm_helper: close the opened dir 2021-11-16 00:18:15 +00:00
minigbm_helpers.h minigbm: consistent style 2021-02-03 04:22:38 +00:00
msm.c minigbm/msm: disable UBWC for virtualization 2022-04-14 22:18:32 +00:00
OWNERS minigbm: remove stevensd from OWNERS 2022-04-20 04:41:27 +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: refactor to add unified resolve_format_and_use_flags helper 2021-10-05 03:43:18 +00:00
util.h amdgpu: make libdir work on stock Linux 2020-01-21 20:43:23 +00:00
vc4.c minigbm: refactor to add unified resolve_format_and_use_flags helper 2021-10-05 03:43:18 +00:00
virtgpu.c minigbm: refactor driver helpers 2021-10-01 18:35:11 +00:00
virtgpu.h virtgpu_cross_domain: handle from guest memory 2021-04-30 20:41:42 +00:00
virtgpu_cross_domain.c virtgpu_crosdomain: Fix pthread_mutex_init error check 2021-10-05 07:11:34 +00:00
virtgpu_virgl.c virtgpu_virgl: enable P010 for 3D mode 2022-04-19 03:37:24 +00:00