linux/drivers/gpu/drm/xe/abi
Daniele Ceraolo Spurio 9c7d93a8f1 drm/xe/guc: Enable the Dynamic Inhibit Context Switch optimization
The Dynamic Inhibit Context Switch is an optimization aimed at reducing
the amount of time the HW is stuck waiting on an unsatisfied semaphore.
When this optimization is enabled, the GuC will dynamically modify the
CTX_CTRL_INHIBIT_SYN_CTX_SWITCH in the CTX_CONTEXT_CONTROL register of
LRCs to enable immediate switching out on an unsatisfied semaphore wait
when multiple contexts are competing for time on the same engine.

This feature is available on recent HW from GuC 70.40.1 onwards and it
is enabled via a per-VF feature opt-in.

v2: rebase
v3: switch to using guc_buf_cache instead of dedicated alloc
v4: add helper to check for feature availability (Michal), don't enable
if multi-lrc is possible.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Cc: Julia Filipchuk <julia.filipchuk@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://lore.kernel.org/r/20250625205405.1653212-4-daniele.ceraolospurio@intel.com
2025-06-27 11:08:50 -07:00
..
gsc_command_header_abi.h
gsc_mkhi_commands_abi.h
gsc_proxy_commands_abi.h drm/xe/gsc: Initialize GSC proxy 2024-01-18 11:04:34 -08:00
gsc_pxp_commands_abi.h drm/xe/pxp: Add GSC session initialization support 2025-02-03 11:51:15 -08:00
guc_actions_abi.h drm/xe/guc: Enable extended CAT error reporting 2025-06-27 11:08:40 -07:00
guc_actions_slpc_abi.h drm/xe/uapi: Use hint for guc to set GT frequency 2025-03-05 09:54:24 +05:30
guc_actions_sriov_abi.h drm/xe/vf: Send RESFIX_DONE message at end of VF restore 2024-11-06 15:25:30 +01:00
guc_capture_abi.h drm/xe: Fix all typos in xe 2025-01-09 17:58:09 +01:00
guc_communication_ctb_abi.h drm/xe/guc: Dead CT helper 2024-10-07 18:34:59 -07:00
guc_communication_mmio_abi.h
guc_errors_abi.h drm/xe/guc: Add missing H2G error code definitions 2025-05-15 12:27:34 -07:00
guc_klvs_abi.h drm/xe/guc: Enable the Dynamic Inhibit Context Switch optimization 2025-06-27 11:08:50 -07:00
guc_log_abi.h drm/xe/guc: Extract GuC error capture lists 2024-10-08 09:34:45 -07:00
guc_messages_abi.h drm/xe/guc: Add kernel-doc for HXG Fast Request 2024-06-11 12:25:21 +02:00
guc_relay_actions_abi.h drm/xe/guc: Add GuC Relay ABI version 1.0 definitions 2024-04-24 15:10:39 +02:00
guc_relay_communication_abi.h drm/xe/guc: Add Relay Communication ABI definitions 2024-01-05 16:25:53 +01:00