Quoting Joonas Lahtinen (2017-11-27 12:02:03)
> 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 <[email protected]>
> > Cc: Mika Kuoppala <[email protected]>
> 
> <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?

Sold.
 
> Reviewed-by: Joonas Lahtinen <[email protected]>

Thanks, queued for after the fire.
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to