[Intel-gfx] [PATCH] drm/i915: Improve execbuf debug

Chris Wilson chris at chris-wilson.co.uk
Mon Dec 9 13:20:41 UTC 2019


Quoting Tvrtko Ursulin (2019-12-09 13:17:38)
> 
> On 09/12/2019 12:26, Chris Wilson wrote:
> > Quoting Tvrtko Ursulin (2019-12-09 12:23:14)
> >> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> >>
> >> Convert i915_gem_check_execbuffer to return the error code instead of
> >> a boolean so our neat EINVAL debugging trick works within this function.
> > 
> > Who would need it? :)
> 
> Hey I found it helpful! :)
> 
> >> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> > Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
> 
> Thanks, but if you don't like it just say.

I was jesting, more precise cost-free debug is great! :)
-Chris


More information about the Intel-gfx mailing list