Quoting Tvrtko Ursulin (2018-12-13 08:28:54) > > On 12/12/2018 13:41, Chris Wilson wrote: > > After declaring a terminally wedged device, we allow ourselves to > > recover on the next GPU reset (manually triggered), or resume. Check > > that resetting a wedged device does work. > > > > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > > Cc: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx> > > --- > > .../gpu/drm/i915/selftests/intel_hangcheck.c | 23 +++++++++++++++++++ > > 1 file changed, 23 insertions(+) > > > > diff --git a/drivers/gpu/drm/i915/selftests/intel_hangcheck.c b/drivers/gpu/drm/i915/selftests/intel_hangcheck.c > > index 805e40aff407..65c318d14077 100644 > > --- a/drivers/gpu/drm/i915/selftests/intel_hangcheck.c > > +++ b/drivers/gpu/drm/i915/selftests/intel_hangcheck.c > > @@ -385,6 +385,28 @@ static int igt_global_reset(void *arg) > > return err; > > } > > > > +static int igt_wedged_reset(void *arg) > > +{ > > + struct drm_i915_private *i915 = arg; > > + > > + /* Check that we can recover a wedged device with a GPU reset */ > > + > > + igt_global_reset_lock(i915); > > + mutex_lock(&i915->drm.struct_mutex); > > rpm get? True. -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx