[RFC 7/7] drm/xe: Promote SR-IOV GuC ABI definitions to shared location

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


Move SR-IOV GuC ABI definitions to shared location and include
them in the generated GuC documentation chapter.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
---
 Documentation/gpu/guc.rst                                  | 7 +++++++
 .../gpu/drm/{xe => intel/guc}/abi/guc_actions_sriov_abi.h  | 0
 .../gpu/drm/{xe => intel/guc}/abi/guc_relay_actions_abi.h  | 0
 .../{xe => intel/guc}/abi/guc_relay_communication_abi.h    | 0
 4 files changed, 7 insertions(+)
 rename drivers/gpu/drm/{xe => intel/guc}/abi/guc_actions_sriov_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%)

diff --git a/Documentation/gpu/guc.rst b/Documentation/gpu/guc.rst
index 55ae1476bf9e..468ba5a978e1 100644
--- a/Documentation/gpu/guc.rst
+++ b/Documentation/gpu/guc.rst
@@ -13,4 +13,11 @@ GuC ABI
 .. kernel-doc:: drivers/gpu/drm/intel/guc/abi/guc_communication_ctb_abi.h
 .. kernel-doc:: drivers/gpu/drm/intel/guc/abi/guc_messages_abi.h
 .. kernel-doc:: drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h
+.. kernel-doc:: drivers/gpu/drm/intel/guc/abi/guc_actions_sriov_abi.h
 .. kernel-doc:: drivers/gpu/drm/intel/guc/abi/guc_klvs_abi.h
+
+GuC Relay ABI
+=============
+
+.. kernel-doc:: drivers/gpu/drm/intel/guc/abi/guc_relay_communication_abi.h
+.. kernel-doc:: drivers/gpu/drm/intel/guc/abi/guc_relay_actions_abi.h
diff --git a/drivers/gpu/drm/xe/abi/guc_actions_sriov_abi.h b/drivers/gpu/drm/intel/guc/abi/guc_actions_sriov_abi.h
similarity index 100%
rename from drivers/gpu/drm/xe/abi/guc_actions_sriov_abi.h
rename to drivers/gpu/drm/intel/guc/abi/guc_actions_sriov_abi.h
diff --git a/drivers/gpu/drm/xe/abi/guc_relay_actions_abi.h b/drivers/gpu/drm/intel/guc/abi/guc_relay_actions_abi.h
similarity index 100%
rename from drivers/gpu/drm/xe/abi/guc_relay_actions_abi.h
rename to drivers/gpu/drm/intel/guc/abi/guc_relay_actions_abi.h
diff --git a/drivers/gpu/drm/xe/abi/guc_relay_communication_abi.h b/drivers/gpu/drm/intel/guc/abi/guc_relay_communication_abi.h
similarity index 100%
rename from drivers/gpu/drm/xe/abi/guc_relay_communication_abi.h
rename to drivers/gpu/drm/intel/guc/abi/guc_relay_communication_abi.h
-- 
2.43.0



More information about the Intel-gfx mailing list