mesa/src
Dave Airlie 4e67d2aad4 crocus: find correct relocation target for the bo.
If we have batch a + b, and writing to batch b, causes batch a
to flush, all the bo->index get reset, and we try to submit a -1
to the kernel.

Look the bo index up when creating relocations.

Fixes crash seen in KHR-GL46.compute_shader.pipeline-post-fs
and a trace from Wasteland 3

Fixes: f3630548f1 ("crocus: initial gallium driver for Intel gfx 4-7")

Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14905>
(cherry picked from commit 37c3be6947)

Conflicts:
	src/gallium/drivers/crocus/ci/crocus-hsw-flakes.txt

I've deleted this file, which the original removed an entry from as it
doesn't exist, and the CI isn't run on the 22.0 branch.
2022-02-07 21:51:26 -08:00
..
amd radv: fix R_02881C_PA_CL_VS_OUT_CNTL with mixed cull/clip distances 2022-02-07 21:49:42 -08:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
asahi agx: Lower UBO loads to use per-element indexing 2022-01-24 14:25:18 +00:00
broadcom broadcom/compiler: fix offset alignment for ldunifa when skipping 2022-02-03 10:32:01 -08:00
compiler freedreno/isaspec: Add missing dep of encode.py/decode.py calls on isa.py 2022-02-02 11:21:56 -08:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl/wayland: Reset buffer age when destroying buffers 2022-02-07 21:49:41 -08:00
etnaviv etnaviv: add support for INTEL_blackhole_render 2022-01-31 16:52:29 +00:00
freedreno turnip: Unconditionaly remove descriptor set from pool's list on free 2022-02-07 21:36:03 -08:00
gallium crocus: find correct relocation target for the bo. 2022-02-07 21:51:26 -08:00
gbm replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
getopt
glx replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
gtest gtest: Fix output of array ASSERT/EXPECT macros 2021-11-11 09:53:09 -08:00
hgl
imgui
intel intel: Add missing dep of gen_*_header.py on utils.py. 2022-02-02 11:21:57 -08:00
loader loader: Restore i915g support. 2021-12-09 09:05:23 -08:00
mapi glthread: call _mesa_glthread_BindBuffer unconditionally 2022-02-01 06:11:22 +00:00
mesa mesa: fix misaligned pointer returned by dlist_alloc 2022-02-07 21:36:05 -08:00
microsoft microsoft/compiler: Only treat tess level location as special if it's a patch constant 2022-02-07 21:36:02 -08:00
nouveau
panfrost pan/va: Add ARM_shader_framebuffer_fetch asm test 2022-02-02 17:42:01 +00:00
tool ci: Use a dlclose-disabling preload library for leak checking in Vulkan. 2022-01-27 23:47:46 +00:00
util util/utrace: make generated code a tiny bit nicer to look at 2022-02-01 09:28:30 +00:00
virtio venus: update venus-protocol to 1.3.204 2022-02-02 06:57:24 +00:00
vulkan vulkan/wsi/wayland: remove format switch from wl_shm_format_for_vk_format 2022-02-01 08:00:22 +00:00
meson.build meson: start building intel earlier. 2022-01-20 06:41:17 +00:00