]> 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)
commit6f2775e7afa32287813578f11fe376c5b3147210
treec009d2770980ae71867718a584a2c4aeb14609a1
parent5478de4613423d065f26f374fe83ee6af19d39c1
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