drm/i915: Tidy workaround definitions
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 16 Aug 2023 21:42:06 +0000 (14:42 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 17 Aug 2023 22:21:05 +0000 (15:21 -0700)
commitf1c805716516f9e648e13f0108cea8096e0c7023
tree1bf5d128452e3bf254e96e6056a0f264e611631c
parenteaeb4b3614529bfa8a7edfdd7ecf6977b27f18b2
drm/i915: Tidy workaround definitions

Removal of the DG2 pre-production workarounds has left duplicate
condition blocks in a couple places, as well as some inconsistent
platform ordering.  Reshuffle and consolidate some of the workarounds to
reduce the number of condition blocks and to more consistently follow
the "newest platform first" convention.  Code movement only; no
functional change.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230816214201.534095-11-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c