mesa/src
Yiwei Zhang 76a317170e venus: cache ahb backed buffer memory type bits requirement
To properly init buffer memory requirement for AHB, memory type bits
from dma_buf fd properties need to be masked. However, creating a test
AHB at buffer creation is too costy. This patch caches the ahb backed
buffer memory type bits at device creation time if the app is requesting
AHB extension.

Cc: 21.2 mesa-stable

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12171>
(cherry picked from commit e08960482a)
2021-08-02 13:30:07 -07:00
..
amd amd/registers: fix fields conflict detection 2021-07-30 09:59:20 -07:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi agx: Plug memory leak in register allocator 2021-07-26 12:16:50 -07:00
broadcom v3d, vc4: Fix dmabuf import for non-scanout buffers 2021-07-30 09:59:18 -07:00
compiler nir/lower_shader_calls: adding missing stack offset alignment 2021-07-29 09:05:42 -07:00
drm-shim drm-shim: implement stat/fstat when xstat variants are not there 2021-08-02 13:30:06 -07:00
egl egl/surfaceless: try kms_swrast before swrast 2021-07-26 12:01:53 -07:00
etnaviv android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
freedreno freedreno/ir3: Add build id to the disassembler test 2021-07-29 09:05:41 -07:00
gallium pan/mdg: Analyze helper termination after scheduling 2021-08-02 13:30:02 -07:00
gbm gbm/dri: Fix leaking bo memory on failure path 2021-07-13 11:15:44 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx: create DRI screen for display GPU incase of prime 2021-06-03 09:12:32 +00:00
gtest
hgl
imgui
intel intel/fs: restrict max push length on older GPUs to a smaller amount 2021-07-30 09:59:19 -07:00
loader loader/dri3: create linear buffer with scanout support 2021-07-28 11:29:29 -07:00
mapi glthread: use custom marshal/unmarshal for CallList 2021-07-09 10:05:46 +00:00
mesa mesa/main: Check for fbo attachments when importing EGL images to textures 2021-07-29 09:05:41 -07:00
microsoft nir: Drop nir_ssa_def::name and nir_register::name 2021-07-08 17:34:41 +00:00
nouveau
panfrost pan/mdg: Analyze helper termination after scheduling 2021-08-02 13:30:02 -07:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util util: add workaround for Full Bore 2021-07-26 12:01:56 -07:00
virtio venus: cache ahb backed buffer memory type bits requirement 2021-08-02 13:30:07 -07:00
vulkan vulkan/wsi/x11: do not inherit last_present_mode 2021-07-28 11:29:27 -07:00
meson.build panfrost: Add a Vulkan driver for Midgard/Bifrost GPUs 2021-06-22 14:07:34 +00:00