[PATCH v3 0/2] Enable GuC opt-in features

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Fri Mar 28 17:28:35 UTC 2025


The GuC supports a H2G to opt-in to extra features on a per-VF basis.
We're interested in 2 of those features:

1 - Extended CAT error info (extra debug info)
2 - Dynamic ICS (optimization)

More details on what those do in the respective patches.

This series adds code to conditionally enable those features in both
native/PF and VF. Note however that for the VF enablement to actually
work we need another series to correnctly set the GuC compatibility
version (either [1] or [2]), but these patches can be merged in
parallel as there is no direct dependency in code.

v2: rework common KVL emission code.
v3: switch to guc_buf_cache instead of using a dedicated allocation

[1] https://patchwork.freedesktop.org/series/145406/
[2] https://patchwork.freedesktop.org/series/145667/
Cc: John Harrison <John.C.Harrison at Intel.com>
Cc: Julia Filipchuk <julia.filipchuk at intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
Cc: Lukasz Laguna <lukasz.laguna at intel.com>

Daniele Ceraolo Spurio (2):
  drm/xe/guc: Enable extended CAT error reporting
  drm/xe/guc: Enable the Dynamic Inhibit Context Switch optimization

 drivers/gpu/drm/xe/abi/guc_actions_abi.h |  4 ++
 drivers/gpu/drm/xe/abi/guc_klvs_abi.h    | 28 ++++++++++
 drivers/gpu/drm/xe/xe_guc.c              | 68 ++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_guc.h              |  1 +
 drivers/gpu/drm/xe/xe_guc_buf.c          |  4 --
 drivers/gpu/drm/xe/xe_guc_submit.c       | 16 ++++--
 drivers/gpu/drm/xe/xe_uc.c               |  4 ++
 7 files changed, 118 insertions(+), 7 deletions(-)

-- 
2.43.0



More information about the Intel-xe mailing list