[Intel-gfx] [PATCH 00/13] drm/i915: Clean up DPLL output/refclock tracking

Imre Deak imre.deak at intel.com
Wed Feb 26 20:34:42 UTC 2020


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(-)

-- 
2.23.1



More information about the Intel-gfx mailing list