]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Turn vm off then on again for gen7 mm switch
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 8 Dec 2019 14:36:48 +0000 (14:36 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 8 Dec 2019 15:19:02 +0000 (15:19 +0000)
commitd63411000741ebca84b147b3e79cb6b298ee07e9
tree77676cf41755f5ad4f85c14c6481fcc5bbfe556b
parentca5930b181a446c58acfed2bd6cffe0b04455f83
drm/i915/gt: Turn vm off then on again for gen7 mm switch

"Have you tried switching it off and on again?"

Set the size of the mm to 0 to disable all PD cachelines, before
enabling the whole mm again. Let's see if that tricks the TLB into
reloading.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191208143648.2986669-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_ring_submission.c