[RFC 0/7] Promote GuC ABI headers to shared location

Michal Wajdeczko michal.wajdeczko at intel.com
Tue Jun 11 14:30:01 UTC 2024


There are many GuC ABI definitions named in the same way by the i915
and Xe drivers, preventing proper generation of the documentation.

Promote GuC ABI definitions to shared location that can be used by
both drivers and can be included in documentation.

Cc: Jani Nikula <jani.nikula at intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Matthew Brost <matthew.brost at intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
Cc: John Harrison <John.C.Harrison at Intel.com>

Michal Wajdeczko (7):
  drm/xe/guc: Promote GuC ABI headers to shared location
  Documentation/gpu: Separate GuC ABI section
  Documentation/gpu: Switch to shared GuC ABI definitions
  drm/intel/guc: Update CTB communication ABI
  drm/intel/guc: Add new KLV definitions
  drm/i915: Use shared GuC ABI definitions
  drm/xe: Promote SR-IOV GuC ABI definitions to shared location

 Documentation/gpu/drivers.rst                 |   1 +
 Documentation/gpu/guc.rst                     |  23 ++
 Documentation/gpu/i915.rst                    |   9 -
 drivers/gpu/drm/i915/Makefile                 |   5 +
 .../gt/uc/abi/guc_communication_ctb_abi.h     | 170 -----------
 .../gt/uc/abi/guc_communication_mmio_abi.h    |  49 ----
 drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h | 112 --------
 .../gpu/drm/i915/gt/uc/abi/guc_messages_abi.h | 264 ------------------
 .../guc}/abi/guc_actions_sriov_abi.h          |   0
 .../guc}/abi/guc_communication_ctb_abi.h      |   2 +
 .../guc}/abi/guc_communication_mmio_abi.h     |   0
 .../drm/{xe => intel/guc}/abi/guc_klvs_abi.h  |  18 +-
 .../{xe => intel/guc}/abi/guc_messages_abi.h  |   0
 .../guc}/abi/guc_relay_actions_abi.h          |   0
 .../guc}/abi/guc_relay_communication_abi.h    |   0
 drivers/gpu/drm/xe/Makefile                   |   5 +
 16 files changed, 49 insertions(+), 609 deletions(-)
 create mode 100644 Documentation/gpu/guc.rst
 delete mode 100644 drivers/gpu/drm/i915/gt/uc/abi/guc_communication_ctb_abi.h
 delete mode 100644 drivers/gpu/drm/i915/gt/uc/abi/guc_communication_mmio_abi.h
 delete mode 100644 drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h
 delete mode 100644 drivers/gpu/drm/i915/gt/uc/abi/guc_messages_abi.h
 rename drivers/gpu/drm/{xe => intel/guc}/abi/guc_actions_sriov_abi.h (100%)
 rename drivers/gpu/drm/{xe => intel/guc}/abi/guc_communication_ctb_abi.h (98%)
 rename drivers/gpu/drm/{xe => intel/guc}/abi/guc_communication_mmio_abi.h (100%)
 rename drivers/gpu/drm/{xe => intel/guc}/abi/guc_klvs_abi.h (97%)
 rename drivers/gpu/drm/{xe => intel/guc}/abi/guc_messages_abi.h (100%)
 rename drivers/gpu/drm/{xe => intel/guc}/abi/guc_relay_actions_abi.h (100%)
 rename drivers/gpu/drm/{xe => intel/guc}/abi/guc_relay_communication_abi.h (100%)

-- 
2.43.0



More information about the Intel-gfx mailing list