drm/i915/gt: Also check set bits in clr_set()
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 30 Jun 2023 20:35:09 +0000 (13:35 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 3 Jul 2023 18:30:30 +0000 (11:30 -0700)
commite3affc7cd9b48b03d1235168d50c313e2389a2d7
tree1e3a32216f36c548df1b6c2699c87aa44194bdae
parent03286f948065d68194f5654373a9017a484d364a
drm/i915/gt: Also check set bits in clr_set()

When checking if the workarounds were applied successfully, the
read-back mask should also contain the bits being set: it's possible
that in a call to wa_write_clr_set(), the cleared bits are not a
superset of the set bits.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230630203509.1635216-8-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c