drm/xe/uapi: Add additional error components to xe drm_ras

Add additional Error components supported by XE drm_ras (Reliability,
Availability and Serviceability).

Reviewed-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
Reviewed-by: Mallesh Koujalagi <mallesh.koujalagi@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patch.msgid.link/20260618060633.2790109-9-riana.tauro@intel.com
Signed-off-by: Riana Tauro <riana.tauro@intel.com>
This commit is contained in:
Riana Tauro
2026-06-18 11:36:35 +05:30
parent c1a3f61195
commit cdeb5e248d

View File

@@ -2589,6 +2589,12 @@ enum drm_xe_ras_error_component {
DRM_XE_RAS_ERR_COMP_CORE_COMPUTE = 1,
/** @DRM_XE_RAS_ERR_COMP_SOC_INTERNAL: SoC Internal Error */
DRM_XE_RAS_ERR_COMP_SOC_INTERNAL,
/** @DRM_XE_RAS_ERR_COMP_DEVICE_MEMORY: Device Memory Error */
DRM_XE_RAS_ERR_COMP_DEVICE_MEMORY,
/** @DRM_XE_RAS_ERR_COMP_PCIE: PCIe Subsystem Error */
DRM_XE_RAS_ERR_COMP_PCIE,
/** @DRM_XE_RAS_ERR_COMP_FABRIC: Fabric Subsystem Error */
DRM_XE_RAS_ERR_COMP_FABRIC,
/** @DRM_XE_RAS_ERR_COMP_MAX: Max Error */
DRM_XE_RAS_ERR_COMP_MAX /* non-ABI */
};
@@ -2606,7 +2612,10 @@ enum drm_xe_ras_error_component {
*/
#define DRM_XE_RAS_ERROR_COMPONENT_NAMES { \
[DRM_XE_RAS_ERR_COMP_CORE_COMPUTE] = "core-compute", \
[DRM_XE_RAS_ERR_COMP_SOC_INTERNAL] = "soc-internal" \
[DRM_XE_RAS_ERR_COMP_SOC_INTERNAL] = "soc-internal", \
[DRM_XE_RAS_ERR_COMP_DEVICE_MEMORY] = "device-memory", \
[DRM_XE_RAS_ERR_COMP_PCIE] = "pcie", \
[DRM_XE_RAS_ERR_COMP_FABRIC] = "fabric", \
}
#if defined(__cplusplus)