mesa/src/intel
Lionel Landwerlin 0b141f56a3 anv: enable preemption setting on command/batch correctly
The 2 helpers we're using for doing internal operations (copies,
command generation, etc...) can work on command buffers or lower level
batches.

When working with command buffers, the helpers should set the
preemption using genX(cmd_buffer_set_preemption) so that whatever
operation comes after toggles the state back to what it needs and we
minimize the toggles.

When working with batchs, the helpers should disable preemption using
genX(batch_set_preemption) and turn it back on when done.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35030>
(cherry picked from commit c570740272)
2025-05-20 20:18:08 +02:00
..
blorp intel: Fix the MOCS values in XY_BLOCK_COPY_BLT for Xe2+ 2025-04-23 12:21:56 +02:00
ci ci/lava: Consolidate piglit trace job definitions 2025-04-11 07:05:07 +00:00
common intel: Use devinfo->urb.min_entries[GS and TCS] for setting URB configs 2025-03-10 17:23:07 -07:00
compiler brw: fix brw_nir_move_interpolation_to_top 2025-05-20 20:18:04 +02:00
decoder intel/brw: support for dumping shader line numbers 2025-04-08 19:39:53 +00:00
dev intel/dev: update mesa_defs.json from internal database 2025-04-30 14:16:00 +02:00
ds perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
executor intel/executor: Fix bfloat example for converting F to packed BF 2025-04-30 14:15:56 +02:00
genxml intel: Fix the MOCS values in XY_BLOCK_COPY_BLT for Xe2+ 2025-04-23 12:21:56 +02:00
isl intel: Fix the MOCS values in XY_FAST_COLOR_BLT for Xe2+ 2025-04-23 12:21:56 +02:00
nullhw-layer build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
perf intel/perf: Update intel_perf to match xe_drm.h 2025-04-11 18:35:49 +00:00
shaders intel: use common CL args 2025-03-06 00:43:59 +00:00
tools intel/tools: Fix batch buffer decoder 2025-05-03 12:48:02 +02:00
vulkan anv: enable preemption setting on command/batch correctly 2025-05-20 20:18:08 +02:00
vulkan_hasvk anv/hasvk: sort out debug options 2025-04-04 15:18:28 +00:00
meson.build intel: Add meson option -Dintel-elk 2025-01-30 00:45:59 +00:00