]> 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)
commita817c891c12471ce9fc285c1246372474c39a3f2
tree71b5df55d363ae7d5c753cb8cb1f6f8e74d33aca
parent27a5dcfe73f4b696b3de8c23a560199bb1c193a4
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