mesa/src
Kenneth Graunke 02435f1294 iris: Require a 4K alignment for extra clear color BOs.
Apparently, we've been requiring a 4K alignment for internally allocated
clear color addresses to work around some unknown issues.  There's a
comment to that effect in iris_resource_create_with_modifiers().

When importing a dmabuf and tacking on an additional clear color BO, we
only required an alignment of 1.  This wasn't a problem for a long time
because all BO allocations were naturally aligned to the 4K page size.

However, once we enabled suballocation, we were able to allocate "BOs"
at 256B granularity, making this no longer 4K aligned.  Increase the
alignment requirement to 4K to match the behavior of our normal
allocations and also our previous behavior.

Fixes Piglit's ext_image_dma_buf_import-intel-modifiers.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5482
Fixes: ce2e2296ab ("iris: Suballocate BO using the Gallium pb_slab mechanism")
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13326>
2021-10-13 18:46:03 +00:00
..
amd radv: move alpha_adjust into conditional during vertex input updating 2021-10-13 17:03:26 +00:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
asahi nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
broadcom v3dv: Use the common WSI wrappers 2021-10-13 00:06:15 +00:00
compiler nir/linker: rename replace_constant_input to replace_varying_input_by_constant_load 2021-10-13 04:45:15 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl/dri: Enable FP16 for EGL_EXT_platform_device 2021-10-13 16:36:27 +00:00
etnaviv etnaviv: move drm version readout to drm layer 2021-10-01 10:13:32 +00:00
freedreno turnip: enable strictLines 2021-10-13 12:18:01 +00:00
gallium iris: Require a 4K alignment for extra clear color BOs. 2021-10-13 18:46:03 +00:00
gbm gbm: assume USE_SCANOUT in create_with_modifiers 2021-10-01 00:02:36 +02:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx gallium: add PIPE_CAP_PREFER_BACK_BUFFER_REUSE 2021-09-29 08:14:57 +00:00
gtest
hgl
imgui
intel intel/compiler: Remove unused ret declaration 2021-10-13 17:24:29 +00:00
loader loader/dri3: fix swap out of order when changing swap interval 2021-09-30 03:27:14 +00:00
mapi mesa: GL_ARB_ES3_2_compatibility GL compat profile support 2021-09-23 11:10:23 +00:00
mesa dri: Remove the allow_fp16_configs option, always allow them 2021-10-13 16:36:27 +00:00
microsoft microsoft/spirv_to_dxil: use dxil_nir_lower_bool_input pass 2021-10-08 17:21:33 +00:00
nouveau
panfrost panvk: Use the common WSI wrappers 2021-10-13 00:06:15 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util dri: Remove the allow_fp16_configs option, always allow them 2021-10-13 16:36:27 +00:00
virtio venus: Use the common WSI wrappers 2021-10-13 00:06:15 +00:00
vulkan wsi/x11: Fetch and discard the SYNC extension info 2021-10-13 16:11:11 +00:00
meson.build radv: Allow building when LLVM isn’t enabled 2021-10-01 10:40:18 +02:00