]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Serialise access to GFX_FLSH_CNTL
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 30 Nov 2019 16:23:20 +0000 (16:23 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 30 Nov 2019 16:55:03 +0000 (16:55 +0000)
commitb1854c28406f844a5fafb98133682c6f82a0ed1b
tree179e7038e1720e2f22e214cb7279321e73176c50
parent7fad7bcbe0df7b1824f267a51f4167278fb0f15a
drm/i915: Serialise access to GFX_FLSH_CNTL

Now that many threads may try to use the same mmio to flush the global
buffers after updating the PTE, serialise access to the mmio to prevent
concurrent access on gen7.

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