]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Disable preparser around xcs invalidations on tgl
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Jul 2020 15:21:09 +0000 (16:21 +0100)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 7 Sep 2020 10:13:59 +0000 (13:13 +0300)
commita39b42cd467dc30de44fa1f37dbb115e8b198268
tree71b5df55d363ae7d5c753cb8cb1f6f8e74d33aca
parentd048048ff544cc02518e651d0bdd3f56b3a6412b
drm/i915/gt: Disable preparser around xcs invalidations on tgl

Unlike rcs where we have conclusive evidence from our selftesting that
disabling the preparser before performing the TLB invalidate and
relocations does impact upon the GPU execution, the evidence for the
same requirement on xcs is much more circumstantial. Let's apply the
preparser disable between batches as we invalidate the TLB as a dose of
healthy paranoia, just in case.

References: https://gitlab.freedesktop.org/drm/intel/-/issues/2169
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200728152110.830-1-chris@chris-wilson.co.uk
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/gt/intel_lrc.c