drm/i915/gt: Pipelined clear
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 17 Jun 2021 06:30:14 +0000 (08:30 +0200)
committerMatthew Auld <matthew.auld@intel.com>
Thu, 17 Jun 2021 13:23:09 +0000 (14:23 +0100)
commit563baae1875cbcac332086cca325cf55a0532b9e
tree1f1327a2a32a8a327b800125f4f0b42e36fa8baa
parentcf586021642d8017cde111b7dd1ba86224e9da51
drm/i915/gt: Pipelined clear

Update the PTE and emit a clear within a single unpreemptible packet
such that we can schedule and pipeline clears.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Co-developed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210617063018.92802-9-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/i915/gt/intel_migrate.c
drivers/gpu/drm/i915/gt/intel_migrate.h
drivers/gpu/drm/i915/gt/selftest_migrate.c