]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/i915: Tidy workaround definitions
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 16 Aug 2023 21:42:06 +0000 (14:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:35:44 +0000 (16:35 +0200)
commit6b25099eea4b65ba3b750ce49fa1a9a13d158046
tree73bd632110134dc48873dcac1beee2ffa33c7b93
parent0a9901fdb7bb785ec4975aeeebc1428e3abae172
drm/i915: Tidy workaround definitions

[ Upstream commit f1c805716516f9e648e13f0108cea8096e0c7023 ]

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
Stable-dep-of: 186bce682772 ("drm/i915/mtl: Update workaround 14018575942")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/i915/gt/intel_workarounds.c