From: Tvrtko Ursulin tvrtko.ursulin@intel.com
Some cleanups and improvements to checks being done when building workaround lists. First five patches are small cleanups while the last one contains the actual story of what gets improved.
Test-with: 20210429084130.850426-1-tvrtko.ursulin@linux.intel.com
Tvrtko Ursulin (6): drm/i915: Drop duplicate WaDisable4x2SubspanOptimization:hsw drm/i915/debugfs: Expose read mask in i915_wa_registers drm/i915: Add a separate low-level helper for masked workarounds drm/i915/icl: Use appropriate helper for a masked workaround drm/i915/icl: Stop conflating mask and readback verify drm/i915: Add more checks when building workaround lists
drivers/gpu/drm/i915/gt/intel_workarounds.c | 163 +++++++++++++----- .../gpu/drm/i915/gt/intel_workarounds_types.h | 4 + .../gpu/drm/i915/gt/selftest_workarounds.c | 4 +- drivers/gpu/drm/i915/i915_debugfs.c | 4 +- 4 files changed, 124 insertions(+), 51 deletions(-)