Skip to content

drm/i915: adjusted_mode.clock vs. port_clock v2

[email protected] intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 of 8 patches 2 repliesIn review

6 of 8 patches are in this archive. The cover letter announces 8.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/i915: Don't factor in pixel multplier when deriving dotclock from link clock and M/N valuesdrivers/gpu/drm/i915/intel_display.c+7 -81 reply
2/8drm/i915: Make adjusted_mode.clock non-pixel multiplieddrivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_sdvo.c+8 -80 replies
3/8drm/i915: Add support for pipe_bpp readoutdrivers/gpu/drm/i915/intel_ddi.c drivers/gpu/drm/i915/intel_display.c+53 -01 reply
4/8drm/i915: Move i9xx_crtc_clock_get() and ironlake_crtc_clock_get() earlierdrivers/gpu/drm/i915/intel_display.c+131 -1311 reply
5/8drm/i915: Fix port_clock readout for SDVO and HDMI 12bpc casesdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_hdmi.c +1 more+29 -182 replies
6/8drm/i915: Make intel_fuzzy_clock_check() take in arbitrary clocksdrivers/gpu/drm/i915/intel_display.c+4 -70 replies

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJani Nikula
SeriesR-b R-b
1/8R-b
2/8
3/8
4/8R-b
5/8
6/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 [PATCH 0/8] drm/i915: adjusted_mode.clock vs. port_clock v2

The main idea behind this series is to make adjusted_mode.clock always be the pipe pixel clock. port_clock will then be the clock that the encoder is churning out stuff: SDVO pixel multiplied clock, DP link clock, or the 1.5x pixel clock on 12bpc HDMI. For other output types the two clocks will be the same. As a bonus we get more pipe config sanity checking for the clocks and pipe bpp.

This series includes all the patches from these two earlier series:
[PATCH 0/2] drm/i915: adjusted_mode.clock vs. port_clock vs. pixel_multiplier [PATCH 0/3] drm/i915: Fuzzy clock check for port_clock

As those two series were incomplete, I had to add a bit more stuff make it all turn out correctly. Daniel gets the credit for the idea to eliminate get_clock() and do the DPLL clock extraction early. That made the whole thing much simpler in the end.

I kept Jani's r-b tags even though I did a few minor changes to those patches.