Skip to content

drm/i915/dmc_wl: Track pipe interrupt registers

Gustavo Sousa intel-gfx intel-xe 2 versions – Applied

Status from this message: Pushed to drm-intel-next. Thank you all for the feedback/reviews.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 9 repliesApplied
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3drm/i915/display: Use display MMIO functions in intel_display_irq.cdrivers/gpu/drm/i915/display/intel_display_irq.c+121 -1010 replies
2/3drm/i915/display: Wrap IRQ-specific uncore functionsdrivers/gpu/drm/i915/display/intel_display_irq.c+83 -454 replies
3/3drm/i915/dmc_wl: Track pipe interrupt registersdrivers/gpu/drm/i915/display/intel_dmc_wl.c+1 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJouni HöganderLuca Coelho
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] drm/i915/dmc_wl: Track pipe interrupt registers

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(-)
Signature · 1 line
2.48.0