Skip to content

drm/i915: Clean up DPLL output/refclock tracking

Imre Deak intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13drm/i915: Fix bounds check in intel_get_shared_dpll_id()drivers/gpu/drm/i915/display/intel_dpll_mgr.c+6 -30 replies
2/13drm/i915: Move DPLL HW readout/sanitize fns to intel_dpll_mgr.cdrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_dpll_mgr.c drivers/gpu/drm/i915/display/intel_dpll_mgr.h+63 -420 replies
3/13drm/i915: Keep the global DPLL state in a DPLL specific structdrivers/gpu/drm/i915/display/icl_dsi.c drivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_display.c +3 more+61 -570 replies
4/13drm/i915: Move the DPLL vfunc inits after the func definesdrivers/gpu/drm/i915/display/intel_dpll_mgr.c+60 -600 replies
5/13drm/i915/hsw: Use the DPLL ID when calculating DPLL clockdrivers/gpu/drm/i915/display/intel_ddi.c+8 -90 replies
6/13drm/i915: Move DPLL frequency calculation to intel_dpll_mgr.cdrivers/gpu/drm/i915/display/icl_dsi.c drivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_ddi.h +2 more+431 -4370 replies
7/13drm/i915/skl: Parametrize the DPLL ref clock instead of open-coding itdrivers/gpu/drm/i915/display/intel_dpll_mgr.c+12 -90 replies
8/13drm/i915/hsw: Rename the get HDMI/DP DPLL funcs to get WRPLL/LCPLLdrivers/gpu/drm/i915/display/intel_dpll_mgr.c+5 -50 replies
9/13drm/i915/hsw: Split out the SPLL parameter calculationdrivers/gpu/drm/i915/display/intel_dpll_mgr.c+22 -140 replies
10/13drm/i915/hsw: Split out the WRPLL, LCPLL, SPLL frequency calculationdrivers/gpu/drm/i915/display/intel_dpll_mgr.c+56 -350 replies
11/13drm/i915/skl, cnl: Split out the WRPLL/LCPLL frequency calculationdrivers/gpu/drm/i915/display/icl_dsi.c drivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_dpll_mgr.c +1 more+140 -1453 replies
12/13drm/i915/hsw: Use the read-out WRPLL/SPLL state instead of reading out againdrivers/gpu/drm/i915/display/intel_dpll_mgr.c+2 -51 reply
13/13drm/i915: Unify the DPLL ref clock frequency trackingdrivers/gpu/drm/i915/display/intel_display_debugfs.c drivers/gpu/drm/i915/display/intel_dpll_mgr.c drivers/gpu/drm/i915/i915_drv.h+95 -473 replies

Reviews trailers per patch

3 of 13 patches have a Reviewed-by or Acked-by.

PatchVille Syrjälä
1/13
2/13
3/13
4/13
5/13
6/13
7/13
8/13
9/13
10/13
11/13R-b
12/13R-b
13/13R-b R-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 00/13] drm/i915: Clean up DPLL output/refclock tracking

This patchset moves the platforms specific functions calculating the DPLL frequency next to the counterpart functions calculating DPLL params from a given frequency.

It also adds a way to track the DPLL reference clock frequencies in a unified way across platforms.

Imre Deak (13):
drm/i915: Fix bounds check in intel_get_shared_dpll_id() drm/i915: Move DPLL HW readout/sanitize fns to intel_dpll_mgr.c drm/i915: Keep the global DPLL state in a DPLL specific struct drm/i915: Move the DPLL vfunc inits after the func defines drm/i915/hsw: Use the DPLL ID when calculating DPLL clock drm/i915: Move DPLL frequency calculation to intel_dpll_mgr.c drm/i915/skl: Parametrize the DPLL ref clock instead of open-coding it drm/i915/hsw: Rename the get HDMI/DP DPLL funcs to get WRPLL/LCPLL drm/i915/hsw: Split out the SPLL parameter calculation drm/i915/hsw: Split out the WRPLL,LCPLL,SPLL frequency calculation drm/i915/skl,cnl: Split out the WRPLL/LCPLL frequency calculation drm/i915/hsw: Use the read-out WRPLL/SPLL state instead of reading out
again
drm/i915: Unify the DPLL ref clock frequency tracking

 drivers/gpu/drm/i915/display/icl_dsi.c        |  18 +-
 drivers/gpu/drm/i915/display/intel_ddi.c      | 455 +---------
 drivers/gpu/drm/i915/display/intel_ddi.h      |   2 -
 drivers/gpu/drm/i915/display/intel_display.c  |  52 +-
 .../drm/i915/display/intel_display_debugfs.c  |   9 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 808 +++++++++++++++---
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h |   8 +-
 drivers/gpu/drm/i915/i915_drv.h               |  27 +-
 8 files changed, 736 insertions(+), 643 deletions(-)
Signature · 6 lines
2.23.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx