]> 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)
commit8d2ff68639b4c971d7d13f7f30e4539c64ce5dea
treec5e24071b61c89b4fab377972fcccba30a30bcd4
parentb943a5807b1366e6b4b61597200b2c59758e5391
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