]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Skip global serialisation of clear_range for bxt vtd
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 30 Jan 2020 09:22:38 +0000 (09:22 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 30 Jan 2020 15:22:50 +0000 (15:22 +0000)
commitbf72c8c6ee77d46f74a2b143303a9c9923f9e7a7
treec5e24071b61c89b4fab377972fcccba30a30bcd4
parent0cef62d8e04e7b03e35b07b1d93c1024ba84e413
drm/i915/gt: Skip global serialisation of clear_range for bxt vtd

VT'd on Broxton and on Braswell require serialisation of GGTT updates.
However, it seems to only be required for insertion, so drop the
complication and heavyweight stop_machine() for clears. The range will
be serialised again before use.

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