On Mon, Feb 16, 2026 at 12:17:29PM +0530, Riana Tauro wrote:
> Initialize DRM RAS in hw error init. Map the UAPI error severities
> with the hardware error severities and refactor file.
...
> void xe_hw_error_init(struct xe_device *xe)
> {
> struct xe_tile *tile = xe_device_get_root_tile(xe);
> + int ret;
>
> if (!IS_DGFX(xe) || IS_SRIOV_VF(xe))
> return;
>
> INIT_WORK(&tile->csc_hw_error_work, csc_hw_error_work);
>
> + ret = hw_error_info_init(xe);
> + if (ret)
> + drm_err(&xe->drm, "Failed to initialize XE DRM RAS\n");
Nit: Printing ret would be useful for debugging.
Reviewed-by: Raag Jadav <[email protected]>
> process_hw_errors(xe);
> }