intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Introduce helper for display workarounds and add Wa_16025573575
@ 2025-07-11  4:18 Ankit Nautiyal
  2025-07-11  4:18 ` [PATCH 1/2] drm/i915/display_wa: Add helpers to check wa Ankit Nautiyal
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Ankit Nautiyal @ 2025-07-11  4:18 UTC (permalink / raw)
  To: intel-gfx
  Cc: intel-xe, gustavo.sousa, lucas.demarchi, ville.syrjala,
	Ankit Nautiyal

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.

Rev3:
-Print missing wa_number.
-Add more documentation for the WA.
-Extend the WA for WCL.

Ankit Nautiyal (2):
  drm/i915/display_wa: Add helpers to check wa
  drm/i915/gmbus: Add Wa_16025573575 for PTL/WCL for bit-bashing

 .../gpu/drm/i915/display/intel_display_wa.c   | 27 +++++++++++++++
 .../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, 70 insertions(+), 3 deletions(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCH 0/2] Introduce helper for display workarounds and add Wa_16025573575
@ 2025-07-02  8:46 Ankit Nautiyal
  0 siblings, 0 replies; 16+ messages in thread
From: Ankit Nautiyal @ 2025-07-02  8:46 UTC (permalink / raw)
  To: intel-gfx; +Cc: intel-xe, jani.nikula, gustavo.sousa, Ankit Nautiyal

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


^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCH 0/2] Introduce helper for display workarounds and add Wa_16025573575
@ 2025-06-30  5:49 Ankit Nautiyal
  0 siblings, 0 replies; 16+ messages in thread
From: Ankit Nautiyal @ 2025-06-30  5:49 UTC (permalink / raw)
  To: intel-gfx; +Cc: intel-xe, gustavo.sousa, jani.nikula, Ankit Nautiyal

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/

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   | 20 +++++++++++
 .../gpu/drm/i915/display/intel_display_wa.h   | 11 ++++++
 drivers/gpu/drm/i915/display/intel_fbc.c      |  2 +-
 drivers/gpu/drm/i915/display/intel_gmbus.c    | 34 +++++++++++++++++--
 4 files changed, 64 insertions(+), 3 deletions(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-07-17 15:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-11  4:18 [PATCH 0/2] Introduce helper for display workarounds and add Wa_16025573575 Ankit Nautiyal
2025-07-11  4:18 ` [PATCH 1/2] drm/i915/display_wa: Add helpers to check wa Ankit Nautiyal
2025-07-16 14:18   ` Gustavo Sousa
2025-07-11  4:19 ` [PATCH 2/2] drm/i915/gmbus: Add Wa_16025573575 for PTL/WCL for bit-bashing Ankit Nautiyal
2025-07-11 11:37   ` Gustavo Sousa
2025-07-15  3:22     ` Nautiyal, Ankit K
2025-07-15 14:22   ` Ankit Nautiyal
2025-07-15 15:56     ` Gustavo Sousa
2025-07-11  7:03 ` ✓ i915.CI.BAT: success for Introduce helper for display workarounds and add Wa_16025573575 (rev3) Patchwork
2025-07-11 11:35 ` ✓ i915.CI.Full: " Patchwork
2025-07-15 21:00 ` ✓ i915.CI.BAT: success for Introduce helper for display workarounds and add Wa_16025573575 (rev4) Patchwork
2025-07-16  6:53 ` ✗ i915.CI.Full: failure " Patchwork
2025-07-17  4:43 ` ✓ i915.CI.Full: success " Patchwork
2025-07-17 15:56 ` [PATCH 0/2] Introduce helper for display workarounds and add Wa_16025573575 Nautiyal, Ankit K
  -- strict thread matches above, loose matches on Subject: below --
2025-07-02  8:46 Ankit Nautiyal
2025-06-30  5:49 Ankit Nautiyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).