Skip to content

drm/i915/dmc_wl: Fixes and enablement for Xe3_LPD

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

Status from this message: Applied to drm-intel-next. Thanks for the patches and reviews.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest15 patches 4 repliesApplied
  2. v318 patches 7 repliesSuperseded
  3. v217 patches 14 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v113 patches38 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/15drm/i915/dmc_wl: Use i915_mmio_reg_offset() instead of reg.regdrivers/gpu/drm/i915/display/intel_dmc_wl.c+6 -50 replies
2/15drm/xe: Mimic i915 behavior for non-sleeping MMIO waitdrivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h+10 -10 replies
3/15drm/i915/dmc_wl: Use non-sleeping variant of MMIO waitdrivers/gpu/drm/i915/display/intel_de.h drivers/gpu/drm/i915/display/intel_dmc_wl.c+26 -80 replies
4/15drm/i915/dmc_wl: Check for non-zero refcount in release workdrivers/gpu/drm/i915/display/intel_dmc_wl.c+5 -20 replies
5/15drm/i915/dmc_wl: Get wakelock when disabling dynamic DC statesdrivers/gpu/drm/i915/display/intel_display_power_well.c drivers/gpu/drm/i915/display/intel_dmc_wl.c drivers/gpu/drm/i915/display/intel_dmc_wl.h+21 -50 replies
6/15drm/i915/dmc_wl: Use sentinel item for range tablesdrivers/gpu/drm/i915/display/intel_dmc_wl.c+2 -10 replies
7/15drm/i915/dmc_wl: Extract intel_dmc_wl_reg_in_range()drivers/gpu/drm/i915/display/intel_dmc_wl.c+11 -100 replies
8/15drm/i915/dmc_wl: Rename lnl_wl_range to powered_off_rangesdrivers/gpu/drm/i915/display/intel_dmc_wl.c+6 -20 replies
9/15drm/i915/dmc_wl: Track registers touched by the DMCdrivers/gpu/drm/i915/display/intel_display_power_well.c drivers/gpu/drm/i915/display/intel_dmc_wl.c drivers/gpu/drm/i915/display/intel_dmc_wl.h+128 -130 replies
10/15drm/i915/dmc_wl: Allow simpler syntax for single reg in range tablesdrivers/gpu/drm/i915/display/intel_dmc_wl.c+60 -580 replies
11/15drm/i915/dmc_wl: Deal with existing references when disablingdrivers/gpu/drm/i915/display/intel_dmc_wl.c+67 -300 replies
12/15drm/i915/dmc_wl: Couple enable/disable with dynamic DC statesdrivers/gpu/drm/i915/display/intel_display_power_well.c drivers/gpu/drm/i915/display/intel_dmc.c drivers/gpu/drm/i915/display/intel_dmc_wl.c+8 -70 replies
13/15drm/i915/dmc_wl: Add and use HAS_DMC_WAKELOCK()drivers/gpu/drm/i915/display/intel_display_device.h drivers/gpu/drm/i915/display/intel_dmc_wl.c+3 -20 replies
14/15drm/i915/dmc_wl: Sanitize enable_dmc_wl according to hardware supportdrivers/gpu/drm/i915/display/intel_dmc_wl.c+14 -70 replies
15/15drm/i915/xe3lpd: Use DMC wakelock by defaultdrivers/gpu/drm/i915/display/intel_display_params.c drivers/gpu/drm/i915/display/intel_display_params.h drivers/gpu/drm/i915/display/intel_dmc_wl.c+9 -50 replies

Reviews trailers per patch

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

PatchJani NikulaLuca Coelho
1/15R-b R-b
2/15R-b
3/15R-b
4/15R-b
5/15R-b
6/15R-b
7/15R-b
8/15R-b
9/15R-b
10/15R-b
11/15R-b
12/15R-b
13/15R-b
14/15R-b
15/15R-b

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

Read the v4 thread

Cover letter [PATCH v4 00/15] drm/i915/dmc_wl: Fixes and enablement for Xe3_LPD

Using the DMC wakelock is the official recommendation for Xe3_LPD. This series apply fixes to the current DMC wakelock implementation and enables it by default for Xe3_LPD. The series has been tested with a PTL machine.

This is the v4 of the series. The only difference from v3 is that I decided to drop patches related to the usage of HAS_DMC() in HAS_DMC_WAKELOCK(), as they might need more polishing and will be send as a separate series. I believe we don't need to be blocked on those to get this series landed.

Gustavo Sousa (15):
drm/i915/dmc_wl: Use i915_mmio_reg_offset() instead of reg.reg drm/xe: Mimic i915 behavior for non-sleeping MMIO wait drm/i915/dmc_wl: Use non-sleeping variant of MMIO wait drm/i915/dmc_wl: Check for non-zero refcount in release work drm/i915/dmc_wl: Get wakelock when disabling dynamic DC states drm/i915/dmc_wl: Use sentinel item for range tables drm/i915/dmc_wl: Extract intel_dmc_wl_reg_in_range() drm/i915/dmc_wl: Rename lnl_wl_range to powered_off_ranges drm/i915/dmc_wl: Track registers touched by the DMC drm/i915/dmc_wl: Allow simpler syntax for single reg in range tables drm/i915/dmc_wl: Deal with existing references when disabling drm/i915/dmc_wl: Couple enable/disable with dynamic DC states drm/i915/dmc_wl: Add and use HAS_DMC_WAKELOCK() drm/i915/dmc_wl: Sanitize enable_dmc_wl according to hardware support drm/i915/xe3lpd: Use DMC wakelock by default

 drivers/gpu/drm/i915/display/intel_de.h       |  10 +
 .../drm/i915/display/intel_display_device.h   |   1 +
 .../drm/i915/display/intel_display_params.c   |   6 +-
 .../drm/i915/display/intel_display_params.h   |   2 +-
 .../i915/display/intel_display_power_well.c   |  19 +-
 drivers/gpu/drm/i915/display/intel_dmc.c      |   4 -
 drivers/gpu/drm/i915/display/intel_dmc_wl.c   | 304 ++++++++++++++----
 drivers/gpu/drm/i915/display/intel_dmc_wl.h   |  13 +-
 .../drm/xe/compat-i915-headers/intel_uncore.h |  11 +-
 9 files changed, 295 insertions(+), 75 deletions(-)
Signature · 1 line
2.47.0