Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/i915/dmc_wl: Track pipe interrupt registers
@ 2025-01-03 17:41 Gustavo Sousa
  2025-01-03 17:41 ` [PATCH 1/3] drm/i915/display: Use display MMIO functions in intel_display_irq.c Gustavo Sousa
                   ` (10 more replies)
  0 siblings, 11 replies; 16+ messages in thread
From: Gustavo Sousa @ 2025-01-03 17:41 UTC (permalink / raw)
  To: intel-gfx, intel-xe

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.

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

 drivers/gpu/drm/i915/display/intel_de.h       |  43 +++
 .../gpu/drm/i915/display/intel_display_irq.c  | 307 +++++++++---------
 drivers/gpu/drm/i915/display/intel_dmc_wl.c   |   1 +
 3 files changed, 205 insertions(+), 146 deletions(-)

-- 
2.47.1


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

end of thread, other threads:[~2025-01-13 20:51 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-03 17:41 [PATCH 0/3] drm/i915/dmc_wl: Track pipe interrupt registers Gustavo Sousa
2025-01-03 17:41 ` [PATCH 1/3] drm/i915/display: Use display MMIO functions in intel_display_irq.c Gustavo Sousa
2025-01-09  7:03   ` Hogander, Jouni
2025-01-03 17:41 ` [PATCH 2/3] drm/i915/display: Wrap IRQ-specific uncore functions Gustavo Sousa
2025-01-07  9:16   ` Jani Nikula
2025-01-13 20:51     ` Gustavo Sousa
2025-01-03 17:41 ` [PATCH 3/3] drm/i915/dmc_wl: Track pipe interrupt registers Gustavo Sousa
2025-01-09  7:07   ` Hogander, Jouni
2025-01-03 18:30 ` ✓ CI.Patch_applied: success for " Patchwork
2025-01-03 18:31 ` ✓ CI.checkpatch: " Patchwork
2025-01-03 18:32 ` ✓ CI.KUnit: " Patchwork
2025-01-03 18:50 ` ✓ CI.Build: " Patchwork
2025-01-03 18:52 ` ✓ CI.Hooks: " Patchwork
2025-01-03 18:54 ` ✗ CI.checksparse: warning " Patchwork
2025-01-03 19:19 ` ✓ Xe.CI.BAT: success " Patchwork
2025-01-04  2:30 ` ✗ Xe.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox