drm/i915: Disable SAMPLER_STATE prefetching on all Gen11 steppings.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 25 Jun 2019 09:06:55 +0000 (10:06 +0100)
committerJani Nikula <jani.nikula@intel.com>
Mon, 29 Jul 2019 11:59:18 +0000 (14:59 +0300)
commit248f883db61283b4f5a1c92a5e27277377b09f16
tree1bd077c1a265e2adafefa23a010f9fe6a4a84f28
parentac65bdfef14a902b40ff69a35f5c604dba096547
drm/i915: Disable SAMPLER_STATE prefetching on all Gen11 steppings.

The Demand Prefetch workaround (binding table prefetching) only applies
to Icelake A0/B0.  But the Sampler Prefetch workaround needs to be
applied to all Gen11 steppings, according to a programming note in the
SARCHKMD documentation.

Using the Intel Gallium driver, I have seen intermittent failures in
the dEQP-GLES31.functional.copy_image.non_compressed.* tests.  After
applying this workaround, the tests reliably pass.

v2: Remove the overlap with a pre-production w/a

BSpec: 9663
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@vger.kernel.org
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190625090655.19220-1-chris@chris-wilson.co.uk
(cherry picked from commit f9a393875d3af13cc3267477746608dadb7f17c1)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/gt/intel_workarounds.c