]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gem: Tidy up error handling for eb_parse()
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Dec 2019 11:04:36 +0000 (11:04 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Dec 2019 22:40:40 +0000 (22:40 +0000)
commit51696691aba3d1a3e74a9ad9e615abd06532a11e
tree68967e02c2db8947b933b067e55aee0c9297567f
parent37d1151ce75ea2a9ca7274cb0c93f21db9ab431a
drm/i915/gem: Tidy up error handling for eb_parse()

As the caller no longer uses the i915_vma result, stop returning it and
just return the error code instead.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191211110437.4082687-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c