Skip to content

intel/dev: poison macros for workarounds fixed at a stepping

Mark Janes requested to merge majanes/mesa:poison_stepping_was into main

intel/dev: poison macros for workarounds that were fix at a stepping

INTEL_NEEDS_WA macros are valid when a workaround applies to all platforms which have the GFX_VERx10 versions for the workaround.

Some workarounds were fixed at a stepping after the platform release. If a workaround applies partially to any platform, then GFX_VERx10 cannot be used to correctly apply the workaround.

This change invalidates INTEL_NEEDS_WA_16014538804 and INTEL_NEEDS_WA_22014412737, which were fixed for MTL platforms at stepping b0. The run-time checks were already present for all uses of these macros. Updating the poisoned macros to INTEL_WA_{num}_GFX_VER compiles out the run-time checks on platforms where they cannot apply.

Merge request reports