mesa/src
Eric R. Smith e3d123b7a6 panfrost: fix a GPU/CPU synchronization problem
Remove a premature optimization. When PIPE_MAP_DISCARD_WHOLE_RESOURCE
is set we were setting create_new_bo, and then if that was set we skipped
a set of tests which if passed would cause a panfrost_flush_writer.

In fact we need that flush in some cases (e.g. when any batch is
reading the resource). Moreover, we should sometimes copy the resource
(set the copy_resource flag) and that again was being skipped if
create_new_bo was initially true due to PIPE_MAP_DISCARD_WHOLE_RESOURCE
being set.

Cc: mesa-stable
Signed-off-by: Eric R. Smith <eric.smith@collabora.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28406>
2024-04-15 10:52:52 +00:00
..
amd radv/rt: stop computing unused hash for the traversal shader 2024-04-15 08:49:21 +00:00
android_stub
asahi agx: set compact_arrays in compiler options 2024-04-12 18:43:48 +00:00
broadcom v3d: set use_clipdist_array=true for lower_clip? 2024-04-11 18:57:25 +00:00
c11
compiler nir/opt_varyings: Add workaround for RADV mesh shader multiview. 2024-04-14 19:51:12 +00:00
drm-shim drm-shim: Add io region handling in mmap 2024-03-19 10:22:34 +00:00
egl egl/dri2: don't bind dri2 for zink 2024-04-12 17:48:51 +00:00
etnaviv etnaviv: ci: update expectation with fixed depth/stencil clears 2024-04-15 10:24:22 +00:00
freedreno zink: ci updates 2024-04-12 21:30:45 +00:00
gallium panfrost: fix a GPU/CPU synchronization problem 2024-04-15 10:52:52 +00:00
gbm gbm: Remove hardcoded color-channel data 2024-02-27 10:51:03 +00:00
getopt
glx glx/egl: fix LIBGL_KOPPER_DISABLE 2024-04-04 13:18:00 +00:00
gtest
imagination meson: add VK_DRIVER_FILES to devenv, alongside the old VK_ICD_FILENAMES 2024-04-02 18:08:52 +00:00
imgui
intel ci/intel: sona device_type is back online 2024-04-12 19:37:56 +00:00
loader loader/wayland: Add named queue fallback 2024-02-28 11:01:31 +00:00
mapi treewide: Replace usage of macro DEBUG with MESA_DEBUG when possible 2024-03-22 18:22:34 +00:00
mesa glsl: inline _mesa_copy_linked_program_data() 2024-04-13 11:36:08 +00:00
microsoft microsoft/compiler: set compact_arrays in compiler options 2024-04-05 17:56:28 +00:00
nouveau nak: Rewrite union_find and use it in repair_ssa 2024-04-13 15:55:44 +00:00
panfrost panfrost: fix a GPU/CPU synchronization problem 2024-04-15 10:52:52 +00:00
tool pps: Config tweaks to avoid loosing traces 2024-03-25 19:49:50 +00:00
util util/u_queue: read fence->signalled locked with TSAN 2024-04-11 13:52:36 +00:00
virtio venus: use more relaxed profile for TLS ring seqno wait 2024-04-13 00:52:22 +00:00
vulkan vulkan/video: copy the profile over for h264 encode. 2024-04-11 12:48:22 +10:00
.clang-format agx: add Braun-Hack spiller pass 2024-03-30 00:26:18 +00:00
meson.build loader/wayland: Add fallback wl_display_dispatch_queue_timeout 2024-02-27 13:10:13 +00:00