History

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

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

Riana Tauro committed 4 months ago

Commit cdeb5e21 parent c1a3f611 file · +10 −1Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/drm/xe_drm.h+10−1
@@ -2589,6 +2589,12 @@ enum drm_xe_ras_error_component { · 2588 unmodified lines
25892589 DRM_XE_RAS_ERR_COMP_CORE_COMPUTE = 1,
25902590 /** @DRM_XE_RAS_ERR_COMP_SOC_INTERNAL: SoC Internal Error */
25912591 DRM_XE_RAS_ERR_COMP_SOC_INTERNAL,
2592+ /** @DRM_XE_RAS_ERR_COMP_DEVICE_MEMORY: Device Memory Error */
2593+ DRM_XE_RAS_ERR_COMP_DEVICE_MEMORY,
2594+ /** @DRM_XE_RAS_ERR_COMP_PCIE: PCIe Subsystem Error */
2595+ DRM_XE_RAS_ERR_COMP_PCIE,
2596+ /** @DRM_XE_RAS_ERR_COMP_FABRIC: Fabric Subsystem Error */
2597+ DRM_XE_RAS_ERR_COMP_FABRIC,
25922598 /** @DRM_XE_RAS_ERR_COMP_MAX: Max Error */
25932599 DRM_XE_RAS_ERR_COMP_MAX /* non-ABI */
25942600 };
@@ -2606,7 +2612,10 @@ enum drm_xe_ras_error_component { · 11 unmodified lines
26062612 */
26072613 #define DRM_XE_RAS_ERROR_COMPONENT_NAMES { \
26082614 [DRM_XE_RAS_ERR_COMP_CORE_COMPUTE] = "core-compute", \
2609− [DRM_XE_RAS_ERR_COMP_SOC_INTERNAL] = "soc-internal" \
2615+ [DRM_XE_RAS_ERR_COMP_SOC_INTERNAL] = "soc-internal", \
2616+ [DRM_XE_RAS_ERR_COMP_DEVICE_MEMORY] = "device-memory", \
2617+ [DRM_XE_RAS_ERR_COMP_PCIE] = "pcie", \
2618+ [DRM_XE_RAS_ERR_COMP_FABRIC] = "fabric", \
26102619 }
26112620
26122621 #if defined(__cplusplus)