Skip to content

drm/i915: cdclk/voltage_level cleanups and fixes

Ville Syrjala intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/i915/cdclk: s/-1/~0/ when dealing with unsigned valuesdrivers/gpu/drm/i915/display/intel_cdclk.c+2 -21 reply
2/8drm/i915/cdclk: Give the squash waveform length a namedrivers/gpu/drm/i915/display/intel_cdclk.c+4 -21 reply
3/8drm/i915/cdclk: Remove the assumption that cd2x div==2 when using squashingdrivers/gpu/drm/i915/display/intel_cdclk.c+2 -45 replies
4/8drm/i915/cdclk: Rewrite cdclk->voltage_level selection to use tablesdrivers/gpu/drm/i915/display/intel_cdclk.c+53 -302 replies
5/8drm/i915/mtl: Fix voltage_level for cdclk==480MHzdrivers/gpu/drm/i915/display/intel_cdclk.c+1 -11 reply
6/8drm/i915: Split intel_ddi_compute_min_voltage_level() into platform variantsdrivers/gpu/drm/i915/display/intel_ddi.c+30 -71 reply
7/8drm/i915/mtl: Calculate the correct voltage level from port_clockdrivers/gpu/drm/i915/display/intel_ddi.c+3 -11 reply
8/8drm/i915: Simplify intel_ddi_compute_min_voltage_level()drivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_ddi.h drivers/gpu/drm/i915/display/intel_dp_mst.c+7 -71 reply

Reviews trailers per patch

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

PatchGustavo Sousa
1/8R-b
2/8R-b
3/8R-b R-b
4/8R-b R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

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

Read the v1 thread

Cover letter [Intel-gfx] [PATCH 0/8] drm/i915: cdclk/voltage_level cleanups and fixes

From: Ville Syrjälä <[email protected]>

A bit of refactoring around the cdclk/voltage_level stuff.

I also spotted that we were miscalculating the voltage level on MTL in two different places, so included fixes (or rather power optimizations) for those.

Ville Syrjälä (8):
drm/i915/cdclk: s/-1/~0/ when dealing with unsigned values drm/i915/cdclk: Give the squash waveform length a name drm/i915/cdclk: Remove the assumption that cd2x div==2 when using
squashing
drm/i915/cdclk: Rewrite cdclk->voltage_level selection to use tables drm/i915/mtl: Fix voltage_level for cdclk==480MHz drm/i915: Split intel_ddi_compute_min_voltage_level() into platform
variants
drm/i915/mtl: Calculate the correct voltage level from port_clock drm/i915: Simplify intel_ddi_compute_min_voltage_level()

 drivers/gpu/drm/i915/display/intel_cdclk.c  | 101 ++++++++++++--------
 drivers/gpu/drm/i915/display/intel_ddi.c    |  50 +++++++---
 drivers/gpu/drm/i915/display/intel_ddi.h    |   3 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c |   2 +-
 4 files changed, 102 insertions(+), 54 deletions(-)
Signature · 1 line
2.41.0