]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66913c2cb9da453f8faf1eb94177d81624922f41
tree46c592d030bb5780edb18e0b88154baeac0c6bb6
parenteb3b7ab68dff1ae78e2baf3795262ee6791970f7
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