drm/i915: whitelist PS_(DEPTH|INVOCATION)_COUNT
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 28 Jun 2019 12:07:19 +0000 (15:07 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 29 Jul 2019 12:28:21 +0000 (15:28 +0300)
commit6ce5bfe936ac31d5c52c4b1328d0bfda5f97e7ca
tree2a71ccc67d6055a11dad5f8c258097959474d509
parentc270cac40828eca4fb8d7c27cab1d0ac7765ff3d
drm/i915: whitelist PS_(DEPTH|INVOCATION)_COUNT

CFL:C0+ changed the status of those registers which are now
blacklisted by default.

This is breaking a number of CTS tests on GL & Vulkan :

  KHR-GL45.pipeline_statistics_query_tests_ARB.functional_fragment_shader_invocations (GL)

  dEQP-VK.query_pool.statistics_query.fragment_shader_invocations.* (Vulkan)

v2: Only use one whitelist entry (Lionel)

Bspec: 14091
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: stable@vger.kernel.org # 6883eab27481: drm/i915: Support flags in whitlist WAs
Cc: stable@vger.kernel.org
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190628120720.21682-3-lionel.g.landwerlin@intel.com
(cherry picked from commit 2c903da50f5a9522b134e488bd0f92646c46f3c0)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/gt/intel_workarounds.c