[PATCH 0/2] Introduce helper for display workarounds and add Wa_16025573575
Ankit Nautiyal
ankit.k.nautiyal at intel.com
Wed Jul 2 08:46:17 UTC 2025
This series introduces a generic infrastructure for querying display
workarounds. The goal is to simplify WA checks, avoid open-coded conditions,
and make it easier to extend support for future workarounds.
Patch 1 introduces the base infrastructure using an enum and a central
helper function. It also migrates Wa_16023588340 to use this new interface.
Patch 2 adds support for Wa_16025573575, which applies to PTL platforms
and requires preserving additional GPIO bits in GMBUS.
The series is in response to the suggestions to unify workaround handling
and allowing future automation or generation of WA logic in [1].
[1] https://lore.kernel.org/intel-gfx/7f079861f91861e9e895240cd3272f6e29deab7e@intel.com/
Rev2:
-Remove MISSING_CASE, use drm_WARN.
-Simplify macro for display_wa.
Ankit Nautiyal (2):
drm/i915/display_wa: Add helpers to check wa
drm/i915/gmbus: Add Wa_16025573575 for PTL for bit-bashing
.../gpu/drm/i915/display/intel_display_wa.c | 22 ++++++++++++
.../gpu/drm/i915/display/intel_display_wa.h | 10 ++++++
drivers/gpu/drm/i915/display/intel_fbc.c | 2 +-
drivers/gpu/drm/i915/display/intel_gmbus.c | 34 +++++++++++++++++--
4 files changed, 65 insertions(+), 3 deletions(-)
--
2.45.2
More information about the Intel-gfx
mailing list