mesa/src/intel/common
José Roberto de Souza a364f23a6c intel: Make gen12 URB space reservation dependent on compute engine presence
Tigerlake PRM: Volume 2c: Command Reference: Registers Part 2 - Registers M through Z
RCU_MODE :: Compute Engine Enable

   This bit indicates if Compute Engine (a.k.a Dual Context or Multi
   Context) is enabled or not. This bit must be treated as global
   control for enabling and disabling of compute engine. Hardware
   allocates required resources for the compute engine based on this
   bit.
   ....
   HW reserves 4KB of URB space...

Right now no gen12 platform has Dual Context enabled in kernel side,
exposing a compute engine but that can change, so here adding
has_compute_engine to intel_device_info and only reserving URB space
if compute engine is available.

While at it also fixing the error path when pb_slabs_init() fails.

Bspec: 46034
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21031>
2023-02-23 14:27:30 +00:00
..
i915 intel/common: Move i915 files to i915 folder 2023-02-16 16:24:36 +00:00
tests intel: Add and use intel_gem_get_param() 2022-11-07 17:22:14 +00:00
intel_aux_map.c intel/aux_map: Ignore format bits when using tile-4 2022-12-15 11:43:00 -08:00
intel_aux_map.h intel/common: clean up AUX macros 2022-12-14 18:11:13 +00:00
intel_batch_decoder.c intel/common: add a INTEL_DECODE variable to parameter decoder at runtime 2023-01-24 15:15:17 +00:00
intel_batch_decoder_stub.c intel/compiler: Introduce a new brw_isa_info structure 2022-06-30 23:46:35 +00:00
intel_buffer_alloc.h intel: Rename gen_{mapped, clflush, invalidate} prefix to intel_{..} 2021-04-20 20:06:34 +00:00
intel_clflush.h intel: Add SUPPORT_INTEL_INTEGRATED_GPUS build argument 2022-11-23 16:57:23 +00:00
intel_decoder.c intel: Convert i915 engine type to intel in tools/ common/ and ds/ 2022-10-15 20:04:51 +00:00
intel_decoder.h intel: Convert i915 engine type to intel in tools/ common/ and ds/ 2022-10-15 20:04:51 +00:00
intel_defines.h intel: Rename "GEN_" prefix used in common code to "INTEL_" 2021-03-10 22:23:51 +00:00
intel_disasm.c intel/compiler: Introduce a new brw_isa_info structure 2022-06-30 23:46:35 +00:00
intel_disasm.h intel/compiler: Introduce a new brw_isa_info structure 2022-06-30 23:46:35 +00:00
intel_engine.c intel/common: Move i915 files to i915 folder 2023-02-16 16:24:36 +00:00
intel_engine.h intel: Add intel_kmd_type parameter to intel_engine_get_info() 2023-01-25 09:16:55 -08:00
intel_gem.c intel/common: Move i915 files to i915 folder 2023-02-16 16:24:36 +00:00
intel_gem.h intel: Add kmd_type parameter to necessary intel_gem.h functions 2023-01-25 09:17:15 -08:00
intel_genX_state.h intel/fs: Make per-sample and coarse dispatch tri-state 2023-02-06 09:12:18 +00:00
intel_guardband.h intel/guardband: Take min/max instead of total size 2022-03-16 13:13:45 -05:00
intel_l3_config.c intel/l3: Use L3 full-way allocation setting for gfx12.5 (DG2, MTL) 2022-09-23 12:49:37 -07:00
intel_l3_config.h intel/common: Add helper for URB allocation in Mesh pipeline 2022-02-02 18:17:57 +00:00
intel_measure.c utils: Merge util/debug.* into util/u_debug.* and remove util/debug.* 2022-11-02 07:25:39 +00:00
intel_measure.h anv: add support for mesh shading in INTEL_MEASURE 2022-10-27 15:03:28 +00:00
intel_pixel_hash.h intel/xehp: Switch to coarser cross-slice pixel hashing with table permutation. 2022-01-10 18:28:35 -08:00
intel_sample_positions.c intel: Rename "gen_" prefix used in common code to "intel_" 2021-03-10 22:23:51 +00:00
intel_sample_positions.h intel/common: clamp sample location coordinate range 2022-09-21 04:05:45 +00:00
intel_urb_config.c intel: Make gen12 URB space reservation dependent on compute engine presence 2023-02-23 14:27:30 +00:00
intel_uuid.c intel: use a shared UUID with other drivers 2023-01-17 17:36:07 +02:00
intel_uuid.h intel: use PCI info to compute device uuid 2022-01-13 03:09:36 +00:00
meson.build intel/common: Move i915 files to i915 folder 2023-02-16 16:24:36 +00:00
mi_builder.h intel/mi_builder: allow half GP registers for dereferencing 2022-09-28 05:38:36 +00:00