On Sun, 2017-11-26 at 22:09 +0000, Chris Wilson wrote: > It may be of interest to both compare the active HW context against the > default (or NULL) context, to see what has been changed and if either are > corrupt. > > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Cc: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx> <SNIP> > @@ -1414,6 +1417,23 @@ static void request_record_user_bo(struct drm_i915_gem_request *request, > ee->user_bo_count = count; > } > > +static struct drm_i915_error_object * > +capture_object(struct drm_i915_private *dev_priv, > + struct drm_i915_gem_object *obj) > +{ > + if (obj && i915_gem_object_has_pages(obj)) { > + struct i915_vma vma = { fake_vma to put emphasis this is a trick? Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx