Skip to content

drm/i915: PLL refactoring

Ville Syrjala intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18drm/i915: Replace hand rolled PLL state dump with intel_dpll_dump_hw_state()drivers/gpu/drm/i915/display/intel_display_debugfs.c+2 -290 replies
2/18drm/i915: Use printer for the rest of PLL debugfs dumpdrivers/gpu/drm/i915/display/intel_display_debugfs.c+4 -40 replies
3/18drm/i915: Rename PLL hw_state variables/argumentsdrivers/gpu/drm/i915/display/intel_dpll_mgr.c drivers/gpu/drm/i915/display/intel_dpll_mgr.h+115 -1140 replies
4/18drm/i915: Introduce some local PLL state variablesdrivers/gpu/drm/i915/display/intel_dpll_mgr.c+52 -420 replies
5/18drm/i915: Extract ilk_fb_cb_factor()drivers/gpu/drm/i915/display/intel_dpll.c+17 -150 replies
6/18drm/i915: Extract ilk_dpll_compute_fp()drivers/gpu/drm/i915/display/intel_dpll.c+13 -110 replies
7/18drm/i915: Extract i9xx_dpll_get_hw_state()drivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_dpll.c drivers/gpu/drm/i915/display/intel_dpll.h+37 -200 replies
8/18drm/i915: Pass the PLL hw_state to pll->enable()drivers/gpu/drm/i915/display/intel_dpll_mgr.c+37 -320 replies
9/18drm/i915: Extract i965_dpll_md()drivers/gpu/drm/i915/display/intel_dpll.c+9 -90 replies
10/18drm/i915: Extract {i9xx,i8xx,ilk}_dpll()drivers/gpu/drm/i915/display/intel_dpll.c+75 -401 reply
11/18drm/i915: Inline {i9xx,ilk}_update_pll_dividers()drivers/gpu/drm/i915/display/intel_dpll.c+13 -330 replies
12/18drm/i915: Modernize i9xx_pll_refclk()drivers/gpu/drm/i915/display/intel_dpll.c+7 -80 replies
13/18drm/i915: Drop pointless 'crtc' argument from *_crtc_clock_get()drivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_dpll.c drivers/gpu/drm/i915/display/intel_dpll.h +1 more+16 -220 replies
14/18drm/i915: s/pipe_config/crtc_state/ in legacy PLL codedrivers/gpu/drm/i915/display/intel_dpll.c drivers/gpu/drm/i915/display/intel_dpll.h+18 -180 replies
15/18drm/i915: Add local DPLL 'hw_state' variablesdrivers/gpu/drm/i915/display/intel_dpll.c+54 -440 replies
16/18drm/i915: Carve up struct intel_dpll_hw_statedrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_dpll.c drivers/gpu/drm/i915/display/intel_dpll.h +3 more+162 -970 replies
17/18drm/i915: Unionize dpll_hw_statedrivers/gpu/drm/i915/display/intel_dpll_mgr.h+7 -50 replies
18/18drm/i915: Suck snps/cx0 PLL states into dpll_hw_statedrivers/gpu/drm/i915/display/intel_cx0_phy.c drivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_display_types.h +3 more+58 -601 reply

Reviews trailers per patch

None of the 18 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJani Nikula
SeriesR-b
1/18
2/18
3/18
4/18
5/18
6/18
7/18
8/18
9/18
10/18
11/18
12/18
13/18
14/18
15/18
16/18
17/18
18/18

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

Read the v1 thread

Cover letter [PATCH 00/18] drm/i915: PLL refactoring

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

A bunch of refactoring around PLLs. Main feature is the unionization of dpll_hw_state. The eventual goal is to unify the approach for PLLs across all platforms instead of the current "shared PLLs are somehow different than other PLLs" approach.

Ville Syrjälä (18):
drm/i915: Replace hand rolled PLL state dump with
intel_dpll_dump_hw_state()
drm/i915: Use printer for the rest of PLL debugfs dump drm/i915: Rename PLL hw_state variables/arguments drm/i915: Introduce some local PLL state variables drm/i915: Extract ilk_fb_cb_factor()
drm/i915: Extract ilk_dpll_compute_fp()
drm/i915: Extract i9xx_dpll_get_hw_state()
drm/i915: Pass the PLL hw_state to pll->enable() drm/i915: Extract i965_dpll_md()
drm/i915: Extract {i9xx,i8xx,ilk}_dpll()
drm/i915: Inline {i9xx,ilk}_update_pll_dividers() drm/i915: Modernize i9xx_pll_refclk()
drm/i915: Drop pointless 'crtc' argument from *_crtc_clock_get() drm/i915: s/pipe_config/crtc_state/ in legacy PLL code drm/i915: Add local DPLL 'hw_state' variables drm/i915: Carve up struct intel_dpll_hw_state drm/i915: Unionize dpll_hw_state
drm/i915: Suck snps/cx0 PLL states into dpll_hw_state

 drivers/gpu/drm/i915/display/intel_cx0_phy.c  |  20 +-
 drivers/gpu/drm/i915/display/intel_ddi.c      |   8 +-
 drivers/gpu/drm/i915/display/intel_display.c  |  30 +-
 .../drm/i915/display/intel_display_debugfs.c  |  39 +-
 .../drm/i915/display/intel_display_types.h    |  43 +-
 drivers/gpu/drm/i915/display/intel_dpll.c     | 338 +++++++-----
 drivers/gpu/drm/i915/display/intel_dpll.h     |  12 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 489 ++++++++++--------
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h |  80 ++-
 .../gpu/drm/i915/display/intel_pch_display.c  |   4 +-
 drivers/gpu/drm/i915/display/intel_snps_phy.c |   6 +-
 11 files changed, 581 insertions(+), 488 deletions(-)
Signature · 1 line
2.43.2