]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/gsc: Wedge the device if the GSCCS reset fails
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 28 Aug 2024 22:14:57 +0000 (15:14 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 29 Aug 2024 21:18:52 +0000 (14:18 -0700)
commit02a416afbe127b1c9ce85ffa340c0a32dbc53184
treef0485cb8899de993ae7caf282a5ef97e8a08185d
parent5ee2d63ca1201ed23c6595cb2fc927222215bce3
drm/xe/gsc: Wedge the device if the GSCCS reset fails

Due to the special handling of the GSCCS in HW, we can't escalate to GT
reset when we receive the reset failure interrupt; the specs indicate
that we should trigger an FLR instead, but we do not have support for
that at the moment, so the HW will stay permanently in a broken state.
We should therefore mark the device as wedged, the same as if the GT
reset had failed.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Julia Filipchuk <julia.filipchuk@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240828221457.2752868-1-daniele.ceraolospurio@intel.com
drivers/gpu/drm/xe/xe_gsc.c