Skip to content

drm/i915: Start reordering modeset clock calculations

Ville Syrjala intel-gfx 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v113 patches 11 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/i915: Split shared dpll .get_dplls() into compute and get phasesdrivers/gpu/drm/i915/display/intel_dpll.c drivers/gpu/drm/i915/display/intel_dpll_mgr.c drivers/gpu/drm/i915/display/intel_dpll_mgr.h+235 -730 replies
2/4drm/i915: Do .crtc_compute_clock() earlierdrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_dpll.c+5 -70 replies
3/4drm/i915: Clean up DPLL related debugsdrivers/gpu/drm/i915/display/intel_dpll.c drivers/gpu/drm/i915/display/intel_dpll_mgr.c+35 -880 replies
4/4drm/i915: Reassign DPLLs only for crtcs going throug .compute_config()drivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_dpll.c+3 -200 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchJani Nikula
1/4
2/4
3/4R-b
4/4

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

Read the v2 thread

Cover letter [Intel-gfx] [PATCH v2 0/4] drm/i915: Start reordering modeset clock calculations

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

Start reordering when we do the clock/dpll calculations during the atomic check. The eventual goals are:
- back feed the actually calculated clock into the crtc state so that stuff that depends on it (eg. watermarks) will be calculated based on the actual hardware state we're going to use rather than the semi-fictional state we started with
- fix the fastset/fastboot stuff to actually require exact clock matches. Avoids the current mess where the user asks to slightly change the refresh rate (eg. to match video frame rate) but the kernel decides to ignore it and do a fastset instead.

v2: Repost of the remainder, earlier patches already merged

Ville Syrjälä (4):
drm/i915: Split shared dpll .get_dplls() into compute and get phases drm/i915: Do .crtc_compute_clock() earlier
drm/i915: Clean up DPLL related debugs
drm/i915: Reassign DPLLs only for crtcs going throug .compute_config()

 drivers/gpu/drm/i915/display/intel_display.c  |  26 +-
 drivers/gpu/drm/i915/display/intel_dpll.c     |  98 +++---
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 333 ++++++++++++------
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h |   3 +
 4 files changed, 275 insertions(+), 185 deletions(-)
Signature · 1 line
2.35.1