intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] drm/i915/dmc_wl: Track pipe interrupt registers
@ 2025-01-13 20:38 Gustavo Sousa
  2025-01-13 20:38 ` [PATCH v2 1/3] drm/i915/display: Use display MMIO functions in intel_display_irq.c Gustavo Sousa
                   ` (11 more replies)
  0 siblings, 12 replies; 18+ messages in thread
From: Gustavo Sousa @ 2025-01-13 20:38 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: Jani Nikula, Jouni Högander

Pipe interrupt registers live in their respective pipes' power wells,
which are below PG0. That means that they must also be tracked as
registers that are powered-off during dynamic DC states.

For that, we first convert the display IRQ code to use display-specific
MMIO functions so that DMC wakelock checks are properly done and then
add the range for pipe interrupts in the table checked by the DMC
wakelock code.

This series fixes vblank timeouts that were happening due to PIPE
interrupt registers being accessed without the DMC wakelock.

v2:
 - Change "drm/i915/display: Wrap IRQ-specific uncore functions" to have
   the wrappers as static functions inside intel_display_irq.c.

Gustavo Sousa (3):
  drm/i915/display: Use display MMIO functions in intel_display_irq.c
  drm/i915/display: Wrap IRQ-specific uncore functions
  drm/i915/dmc_wl: Track pipe interrupt registers

 .../gpu/drm/i915/display/intel_display_irq.c  | 350 ++++++++++--------
 drivers/gpu/drm/i915/display/intel_dmc_wl.c   |   1 +
 2 files changed, 205 insertions(+), 146 deletions(-)

-- 
2.48.0


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

end of thread, other threads:[~2025-01-17 11:46 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-13 20:38 [PATCH v2 0/3] drm/i915/dmc_wl: Track pipe interrupt registers Gustavo Sousa
2025-01-13 20:38 ` [PATCH v2 1/3] drm/i915/display: Use display MMIO functions in intel_display_irq.c Gustavo Sousa
2025-01-13 20:38 ` [PATCH v2 2/3] drm/i915/display: Wrap IRQ-specific uncore functions Gustavo Sousa
2025-01-14  8:35   ` Luca Coelho
2025-01-14  9:55   ` Jani Nikula
2025-01-14 10:56     ` Gustavo Sousa
2025-01-14 11:40       ` Jani Nikula
2025-01-13 20:38 ` [PATCH v2 3/3] drm/i915/dmc_wl: Track pipe interrupt registers Gustavo Sousa
2025-01-13 21:27 ` ✓ CI.Patch_applied: success for drm/i915/dmc_wl: Track pipe interrupt registers (rev2) Patchwork
2025-01-13 21:27 ` ✓ CI.checkpatch: " Patchwork
2025-01-13 21:28 ` ✓ CI.KUnit: " Patchwork
2025-01-13 21:46 ` ✓ CI.Build: " Patchwork
2025-01-13 21:48 ` ✓ CI.Hooks: " Patchwork
2025-01-13 21:50 ` ✓ CI.checksparse: " Patchwork
2025-01-13 22:18 ` ✓ Xe.CI.BAT: " Patchwork
2025-01-14 12:50 ` ✗ Xe.CI.Full: failure " Patchwork
2025-01-16 20:55   ` Gustavo Sousa
2025-01-17 11:46 ` [PATCH v2 0/3] drm/i915/dmc_wl: Track pipe interrupt registers Gustavo Sousa

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).