mesa/src/intel/common
José Roberto de Souza c1afe86299 intel: Fix intel_get_mesh_urb_config()
The round up in 'next_address_8kb = DIV_ROUND_UP(push_constant_kb, 8)'
was not decreasing the amount of URB available for Mesh and Task, what
could cause an over allocation of URB.

There was also no minimum entries enforcement for Mesh and Task, what
could cause 0 r.mesh_entries to be set in a case where tue_size_dw is
90% > than mue_size_dw. Same for r.task_entries when Task is enabled.

Also adding a few more asserts to help debug.

This fixes at least dEQP-VK.mesh_shader.ext.properties.mesh_payload_size
in LNL but it has potential to fixes other Mesh tests as well.

Cc: mesa-stable
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27555>
(cherry picked from commit d0fba810b3d334191ead4f16f5ba786250a70c32)
2024-02-14 17:04:53 +00:00
..
i915 intel/common: add directory prefix to intel_gem.h include 2023-12-21 16:37:04 +00:00
tests
xe intel: Sync xe_drm.h take 2 part 3 2023-12-06 17:35:23 +00:00
intel_aux_map.c intel/aux_map: fix fallback unmapping range on failure 2024-01-15 21:57:29 +00:00
intel_aux_map.h intel/aux_map: introduce ref count of L1 entries 2023-11-28 16:13:11 +00:00
intel_batch_decoder.c intel/batch_decoder: Update 3DSTATE_PS decoding for xe2 2023-12-18 15:41:31 +00:00
intel_batch_decoder_stub.c
intel_buffer_alloc.h
intel_clflushopt.c
intel_decoder.c
intel_decoder.h
intel_defines.h
intel_disasm.c
intel_disasm.h
intel_engine.c
intel_engine.h
intel_gem.c intel/common: Add intel_gem_read_correlate_cpu_gpu_timestamp() 2023-11-09 13:22:48 +00:00
intel_gem.h intel/common: Add intel_gem_read_correlate_cpu_gpu_timestamp() 2023-11-09 13:22:48 +00:00
intel_genX_state.h intel: remove MTL a0 workarounds 2024-01-05 22:51:46 +00:00
intel_guardband.h
intel_hang_dump.h intel/tools: hang viewer/editor 2023-12-04 14:51:29 +00:00
intel_l3_config.c intel/dev: Rename mtl-m to mtl-u 2023-11-07 06:37:00 +00:00
intel_l3_config.h
intel_measure.c util: rename __check_suid() to __normal_user() 2024-01-31 21:22:03 +00:00
intel_measure.h
intel_mem.c
intel_mem.h
intel_pixel_hash.h intel: Improve N-way pixel hashing computation to handle pixel pipes with asymmetric processing power. 2023-11-20 23:48:34 +00:00
intel_sample_positions.c
intel_sample_positions.h
intel_tiled_render.h intel/xehp+: Import algorithm for TBIMR tiling parameter calculation. 2023-10-27 14:48:29 -07:00
intel_urb_config.c intel: Fix intel_get_mesh_urb_config() 2024-02-14 17:04:53 +00:00
intel_uuid.c
intel_uuid.h
meson.build intel: Share function to do device query in Xe KMD 2023-11-28 18:17:45 +00:00
mi_builder.h