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)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Jun 2019 09:57:21 +0000 (10:57 +0100)
commitf9a393875d3af13cc3267477746608dadb7f17c1
treef8ff517538b5eb5e2b78bac5bf2bcf8aefe4a3c3
parent871918dffefc594e765cc7e885a36a7fd3f38da7
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
drivers/gpu/drm/i915/gt/intel_workarounds.c