mirror-linux/drivers/gpu/drm/xe/regs
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
..
xe_bars.h drm/xe/pf: Set VF LMEM BAR size 2025-08-12 05:59:31 -07:00
xe_engine_regs.h drm/xe/xelp: Add Wa_18022495364 2025-07-25 08:43:03 -07:00
xe_eu_stall_regs.h drm/xe/eustall: Add support to init, enable and disable EU stall sampling 2025-02-26 11:30:59 -08:00
xe_gsc_regs.h drm/xe/xe_hw_error: Handle CSC Firmware reported Hardware errors 2025-08-26 10:11:34 -04:00
xe_gt_regs.h drm/xe/xe2hpg: Add Wa_18041344222 for Xe2_HPG 2025-09-05 03:02:34 -07:00
xe_gtt_defs.h
xe_guc_regs.h
xe_hw_error_regs.h drm/xe/xe_hw_error: Handle CSC Firmware reported Hardware errors 2025-08-26 10:11:34 -04:00
xe_i2c_regs.h drm/xe/pm: Wire up suspend/resume for I2C controller 2025-07-10 10:19:41 -04:00
xe_irq_regs.h drm/xe: Add support to handle hardware errors 2025-08-26 10:11:34 -04:00
xe_lrc_layout.h drm/xe/lrc: Allow INDIRECT_CTX for more engine classes 2025-09-18 14:20:39 -07:00
xe_mchbar_regs.h drm/xe/hwmon: Fix xe_hwmon_power_max_write 2025-06-18 12:26:27 -04:00
xe_oa_regs.h drm/xe/oa: Enable OAM latency measurement 2025-06-17 11:34:20 -07:00
xe_pcode_regs.h drm/xe/hwmon: Read energy status from PMT 2025-05-30 11:30:01 -04:00
xe_pmt.h drm/xe/xe_debugfs: Exposure of G-State and pcie link state residency counters through debugfs 2025-07-17 12:33:00 -04:00
xe_pxp_regs.h
xe_reg_defs.h drm/xe: Add xe_mmio_init() initialization function 2025-02-18 08:27:11 -08:00
xe_regs.h drm/xe: Support for I2C attached MCUs 2025-07-10 10:19:41 -04:00