Re: [Intel-gfx] [PATCH v2] drm/i915/guc: Check for wedged before doing stuff

2021-12-23 Thread Matthew Brost
On Tue, Dec 21, 2021 at 01:02:12PM -0800, john.c.harri...@intel.com wrote: > From: John Harrison > > A fault injection probe test hit a BUG_ON in a GuC error path. It > showed that the GuC code could potentially attempt to do many things > when the device is actually wedged. So, add a check in

[PATCH v2] drm/i915/guc: Check for wedged before doing stuff

2021-12-21 Thread John . C . Harrison
From: John Harrison A fault injection probe test hit a BUG_ON in a GuC error path. It showed that the GuC code could potentially attempt to do many things when the device is actually wedged. So, add a check in to prevent that. v2: Use intel_gt_is_wedged instead of testing bits directly in the