drm/i915: Clear the error PTE just once on finish
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 1 Oct 2018 19:44:46 +0000 (20:44 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Oct 2018 10:42:26 +0000 (11:42 +0100)
commit8f5c6fe46d6c1a49d01fc675170283599284b98f
tree46c592d030bb5780edb18e0b88154baeac0c6bb6
parent83bc0f5b432f60394466deef16fc753e27371d0b
drm/i915: Clear the error PTE just once on finish

We do not need to continually clear our dedicated PTE for error capture
as it will be updated and invalidated to the next object. Only at the
end do we wish to be sure that the PTE doesn't point back to any buffer.

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