drm/i915: adjusted_mode.clock vs. port_clock v3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 of 11 patches 8 repliesIn review
7 of 11 patches are in this archive. The cover letter announces 11.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | drm/i915: Don't factor in pixel multplier when deriving dotclock from link clock and M/N valuesdrivers/ | +7 | 0 replies | |
| 4/11 | drm/i915: Add state readout and checking for has_dp_encoder and dp_m_ndrivers/ drivers/ drivers/ | +72 | 2 replies | |
| 5/11 | drm/i915: Make intel_fuzzy_clock_check() take in arbitrary clocksdrivers/ | +4 | 1 reply | |
| 6/11 | drm/i915: Add intel_dotclock_calculate()drivers/ drivers/ | +19 | 6 replies | |
| 7/11 | drm/i915: Make i9xx_crtc_clock_get() use dpll_hw_statedrivers/ | +3 | 4 replies | |
| 8/11 | drm/i915: Make i9xx_crtc_clock_get() work for PCH DPLLsdrivers/ | +3 | 7 replies | |
| 9/11 | drm/i915: Fix port_clock and adjusted_mode.clock readout all overdrivers/ drivers/ drivers/ +5 more | +72 | 5 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jani Nikula |
|---|---|
| Series | R-b R-b R-b R-b |
| 1/11 | R-b |
| 4/11 | R-b |
| 5/11 | R-b |
| 6/11 | R-b |
| 7/11 | R-b |
| 8/11 | R-b |
| 9/11 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11] drm/i915: adjusted_mode.clock vs. port_clock v3
Another day, another attempt.
This series replaces the earlier attempt:
[PATCH 0/8] drm/i915: adjusted_mode.clock vs. port_clock v2
The main new idea is to make it the encoders' responsibility to calculate adjusted_mode.clock. In order to do that I had to add DP M/N extraction and i9xx_crtc_clock_get() had to be improved so that it can dig out the PCH DPLL frequency. The rest is more or less the same old.
As a bonus we now get to cross check the FDI's idea of dotclock against the encoder's idea.
Also now CTG too can calculate the dotclock from the DP port_clock. I don't think that could have worked before as the DPLL was running at the DP link frequency, so we read that out into adjusted_mode.clock and then compared it with whatever the user requested. Not the same thing at all. But now it should just work (tm).
I gave it a quick whirl on my ILK eDP + DP, and IVB HDMI and DP. Neither machine started to yell at me, so I think it's in a semi-decent shape at least. Unfortunately I don't have a CTG w/ DP so I can't test that part, nor do I have any SDVO/DVO hardware.