mesa/src/gallium/drivers/iris
José Roberto de Souza 6f9a5f4811 iris/xe: Add VMs to error dump
To ask Xe KMD to dump BO/VMA content to error state it is necessary to
set DRM_XE_VM_BIND_FLAG_DUMPABLE during VM bind, so places that were
setting 'bo.real.capture = true' after the VM bind were useless for
Xe KMD.

To fix that BO_ALLOC_CAPTURE was added, alloc_fresh_bo() will set
'bo.real.capture = true' automaticacly for new bos before vm bind.
alloc_bo_from_cache() also required to check if capture states matches
between asked bo and bo in cache.

Only slabs might be left out of error dump if DEBUG_CAPTURE_ALL is not
set but that was already happening for i915.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27661>
2024-02-27 01:04:15 +00:00
..
i915 intel: Move intel_define.h to i915/intel_define.h 2024-02-21 18:10:54 +00:00
xe iris/xe: Add VMs to error dump 2024-02-27 01:04:15 +00:00
driinfo_iris.h iris: enable generated indirect draws 2024-02-13 00:06:45 +00:00
iris_batch.c iris/xe: Add VMs to error dump 2024-02-27 01:04:15 +00:00
iris_batch.h intel/decoder: Move decoder to a separate module 2024-02-16 16:37:31 +00:00
iris_binder.c iris: enable generated indirect draws 2024-02-13 00:06:45 +00:00
iris_binder.h iris: enable generated indirect draws 2024-02-13 00:06:45 +00:00
iris_blit.c iris: Drop get_copy_region_aux_settings 2023-08-10 16:21:28 +00:00
iris_blorp.c intel: Use _brw suffix for genX headers that rely on brw 2024-02-24 00:24:32 +00:00
iris_border_color.c iris: Add BO_ALLOC_PLAIN flag 2022-12-19 05:37:34 -08:00
iris_bufmgr.c iris/xe: Add VMs to error dump 2024-02-27 01:04:15 +00:00
iris_bufmgr.h iris/xe: Add VMs to error dump 2024-02-27 01:04:15 +00:00
iris_clear.c iris: Include brw_compiler.h only when needed 2024-02-21 00:38:35 +00:00
iris_context.c iris: Remove more i915_drm.h includes from common code 2024-02-21 18:10:54 +00:00
iris_context.h iris: Use ELK compiler for Gfx8 2024-02-24 00:24:31 +00:00
iris_defines.h iris: Don't return timestamps modulo 36-bits 2024-01-24 23:13:15 +00:00
iris_disk_cache.c iris: Use ELK compiler for Gfx8 2024-02-24 00:24:31 +00:00
iris_draw.c iris: Add helper to access use_tcs_multi_patch 2024-02-21 00:38:35 +00:00
iris_fence.c iris: Fix return of iris_wait_syncobj() 2024-02-07 13:56:17 +00:00
iris_fence.h iris: Drop I915_EXEC_FENCE types 2023-03-15 02:05:58 +00:00
iris_fine_fence.c iris: Nuke useless flags from iris_fine_fence_new() 2023-10-09 21:12:56 +00:00
iris_fine_fence.h iris: Nuke useless flags from iris_fine_fence_new() 2023-10-09 21:12:56 +00:00
iris_formats.c iris: Store intel_device_info in iris_bufmgr 2022-12-15 18:55:02 +00:00
iris_genx_macros.h iris: enable generated indirect draws 2024-02-13 00:06:45 +00:00
iris_genx_protos.h iris: enable generated indirect draws 2024-02-13 00:06:45 +00:00
iris_indirect_gen.c intel: Use _brw suffix for genX headers that rely on brw 2024-02-24 00:24:32 +00:00
iris_kmd_backend.c iris: Implement gem_create() in Xe kmd backend 2023-03-17 19:31:56 +00:00
iris_kmd_backend.h iris: Add gem_create_userptr() to KMD backend 2023-07-31 16:38:46 +00:00
iris_measure.c intel/measure: track batch buffer sizes 2023-09-05 11:50:02 +00:00
iris_measure.h
iris_monitor.c iris: Move iris_batch i915 specific variables to union 2023-04-13 14:58:55 +00:00
iris_monitor.h
iris_perf.c iris: Fix more BO alignments 2022-09-22 03:33:00 +00:00
iris_perf.h
iris_performance_query.c iris: Move iris_batch i915 specific variables to union 2023-04-13 14:58:55 +00:00
iris_pipe.h gallium/iris/crocus: collapse a bunch of conversion functions. 2022-08-04 08:17:39 +00:00
iris_pipe_control.c iris: Add helper for indirect_ubos_use_sampler 2024-02-21 00:38:35 +00:00
iris_program.c iris: Use ELK compiler for Gfx8 2024-02-24 00:24:31 +00:00
iris_program_cache.c iris: Use ELK compiler for Gfx8 2024-02-24 00:24:31 +00:00
iris_query.c iris: Don't return timestamps modulo 36-bits 2024-01-24 23:13:15 +00:00
iris_resolve.c iris: expand pre-hiz data cache flush to gfx >= 125 2024-01-18 19:45:04 +00:00
iris_resource.c iris: Extend MTL modifiers to ARL devices 2024-02-06 21:23:19 +00:00
iris_resource.h iris: Inline iris_can_sample_mcs_with_clear 2023-08-10 16:21:28 +00:00
iris_screen.c iris/xe: Add VMs to error dump 2024-02-27 01:04:15 +00:00
iris_screen.h iris: Use ELK compiler for Gfx8 2024-02-24 00:24:31 +00:00
iris_state.c intel: Use _brw suffix for genX headers that rely on brw 2024-02-24 00:24:32 +00:00
iris_utrace.c intel/ds: lock submissions to u_trace_context 2023-09-25 13:05:45 +00:00
iris_utrace.h
meson.build intel/meson: Rename libintel_compiler to libintel_compiler_brw 2024-02-24 00:24:32 +00:00