]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Improve execbuf debug
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 9 Dec 2019 12:23:14 +0000 (12:23 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Dec 2019 10:28:56 +0000 (10:28 +0000)
commit00aff3f6d8e2c0e24f015280eedad6ac60f0594a
treec009d2770980ae71867718a584a2c4aeb14609a1
parentc81471f5e95c79c55687282ff6800f112b5d560b
drm/i915: Improve execbuf debug

Convert i915_gem_check_execbuffer to return the error code instead of
a boolean so our neat EINVAL debugging trick works within this function.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191209122314.16289-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c