Skip to content
Commit 67f7fba8 authored by Matt Roper's avatar Matt Roper Committed by Greg Kroah-Hartman
Browse files

drm/i915: Consolidate condition for Wa_22011802037



[ Upstream commit 28c46fee ]

The workaround bounds for Wa_22011802037 are somewhat complex and are
replicated in several places throughout the code.  Pull the condition
out to a helper function to prevent mistakes if this condition needs to
change again in the future.

Signed-off-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Reviewed-by: default avatarGustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230821180619.650007-12-matthew.d.roper@intel.com


Stable-dep-of: 186bce68 ("drm/i915/mtl: Update workaround 14018575942")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6b25099e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment