]> 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)
commitabc7326b38db3f70add7911d450c01568d2cd1f8
treec5e24071b61c89b4fab377972fcccba30a30bcd4
parent0b26e85e04f2cd512591ba8065fa9c6cf3e5aa8a
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