Files
linux/drivers/gpu/drm/xe
Lucas De Marchi c9dfd66cb9 drm/xe/lrc: Allow INDIRECT_CTX for more engine classes
Currently it's only allowed for render and compute. Going forward we
want to enable it for more engine classes. Let the XE_LRC_FLAG_INDIRECT_CTX
flag (and thus gt_engine_needs_indirect_ctx()) be the deciding factor
for its availability.

While at it, add the missing const to rcs_funcs array. Since
CTX_INDIRECT_CTX_OFFSET_DEFAULT already matches the HW default and
gt_engine_needs_indirect_ctx() only ever enables it for rcs/ccs, there
is no change in behavior, it's only preparation for future use case.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20250916-wa-bb-cmds-v5-5-306bddbc15da@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
2025-09-18 14:20:39 -07:00
..
2024-05-09 21:28:25 +02:00
2025-01-09 17:58:09 +01:00
2025-09-15 09:53:25 -07:00
2025-09-15 09:53:25 -07:00
2025-06-27 14:52:31 -07:00
2025-07-01 13:58:50 -07:00
2025-03-25 20:51:29 -07:00
2025-09-02 22:23:08 -07:00
2025-09-11 09:45:35 -07:00
2024-05-13 21:36:50 +02:00
2025-06-27 14:52:31 -07:00
2025-06-27 14:52:31 -07:00
2024-05-22 12:03:55 +02:00
2025-09-12 07:36:50 -07:00
2025-09-09 06:02:35 -07:00
2024-09-19 10:15:40 +02:00
2024-05-07 12:03:49 +02:00
2025-08-14 10:30:53 -04:00
2025-01-27 08:54:06 -08:00
2025-09-16 12:47:40 -07:00
2025-02-03 11:51:26 -08:00
2024-05-13 21:36:52 +02:00
2025-09-17 09:50:44 -07:00
2025-06-27 14:52:31 -07:00
2025-07-28 10:22:28 -04:00
2025-01-17 00:01:58 +05:30