OSDN Git Service

drm/i915/gem: Cleanup shadow batch after I915_EXEC_SECURE
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Feb 2020 08:22:26 +0000 (08:22 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Feb 2020 11:22:01 +0000 (11:22 +0000)
commit2c59fd06a062b86210e4d4c637501cb90517fd2b
treeaf79400c8acf090020923347b5e6743963ebdedd
parent12b3788093cb73722b3471335fddb11d8e652ad2
drm/i915/gem: Cleanup shadow batch after I915_EXEC_SECURE

Tidy up after a call to eb_parse() if a later bind fails.

Closes: https://gitlab.freedesktop.org/drm/intel/issues/1312
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200225082233.274530-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c