]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Free the batch along the contexts error path
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Sep 2018 19:55:13 +0000 (20:55 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 20 Sep 2018 09:43:29 +0000 (10:43 +0100)
commit82c7c4fcbf84a0943b92050e08daec85f1d9670f
tree4d4abb5c8c4b37a1b91b17c6a5b2550831d60395
parent9e3b5ce948f611a16e8cf1d3aa7b5387ec88ecb8
drm/i915/selftests: Free the batch along the contexts error path

Remember to release the batch bo reference if we hit an error trying to
submit our MI_STORE_DWORD_IMM.

References: https://bugs.freedesktop.org/show_bug.cgi?id=107979
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180919195544.1511-9-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_context.c