]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: clear the gpu reloc batch
authorMatthew Auld <matthew.auld@intel.com>
Thu, 24 Dec 2020 15:13:58 +0000 (15:13 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 Dec 2020 15:25:41 +0000 (15:25 +0000)
commit978a95b556c6846318069e510ff88f9334c457e2
treebc6f6edcee3d6840c6f810aec9a346e6b34e7957
parentd07b42c458ca17f10ce1c9dd59cbae40052a25fa
drm/i915: clear the gpu reloc batch

The reloc batch is short lived but can exist in the user visible ppGTT,
and since it's backed by an internal object, which lacks page clearing,
we should take care to clear it upfront.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20201224151358.401345-2-matthew.auld@intel.com
Cc: stable@vger.kernel.org
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c