Haswell fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest25 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/25 | drm/i915: add new Haswell DIP controls registersdrivers/ drivers/ | +90 | 4 replies | |
| 1/25 | drm/i915: add new Haswell DIP controls registersdrivers/ drivers/ | +55 | 0 replies | |
| 2/25 | drm/i915: reuse Ivy Bridge interrupts code for Haswelldrivers/ | +9 | 0 replies | |
| 3/25 | drm/i915: add support for SBI opsdrivers/ | +63 | 0 replies | |
| 4/25 | drm/i915: calculate watermarks for devices that have 3 pipesdrivers/ | +1 | 0 replies | |
| 5/25 | drm/i915: properly check for pipe countdrivers/ | +4 | 0 replies | |
| 6/25 | drm/i915: show unknown sdvox registers on hdmi initdrivers/ | +4 | 0 replies | |
| 7/25 | drm/i915: do not use fdi_normal_train on Haswelldrivers/ | +2 | 0 replies | |
| 8/25 | drm/i915: detect PCH encoders on Haswelldrivers/ | +16 | 1 reply | |
| 8/25 | drm/i915: detect PCH encoders on Haswelldrivers/ | +16 | 0 replies | |
| 9/25 | drm/i915: enable power wells on Haswell initdrivers/ | +36 | 1 reply | |
| 9/25 | drm/i915: enable power wells on Haswell initdrivers/ drivers/ drivers/ | +39 | 2 replies | |
| 10/25 | drm/i915: add LPT PCH checksdrivers/ | +16 | 0 replies | |
| 11/25 | drm/i915: handle DDI-related assertionsdrivers/ | +25 | 0 replies | |
| 12/25 | drm/i915: account for only one PCH receiver on Haswelldrivers/ drivers/ | +21 | 0 replies | |
| 13/25 | drm/i915: initialize DDI buffer translationsdrivers/ drivers/ drivers/ +1 more | +111 | 0 replies | |
| 14/25 | drm/i915: support DDI training in FDI modedrivers/ drivers/ drivers/ | +118 | 0 replies | |
| 15/25 | drm/i915: use ironlake eld write routine for Haswelldrivers/ | +1 | 0 replies | |
| 16/25 | drm/i915: define Haswell watermarks and clock gatingdrivers/ | +11 | 0 replies | |
| 17/25 | drm/i915: program WM_LINETIME on Haswelldrivers/ drivers/ drivers/ +1 more | +43 | 0 replies | |
| 18/25 | drm/i915: disable pipe DDI function when disabling pipedrivers/ | +10 | 0 replies | |
| 19/25 | drm/i915: program iCLKIP on Lynx Pointdrivers/ | +97 | 0 replies | |
| 20/25 | drm/i915: detect digital outputs on Haswelldrivers/ drivers/ drivers/ | +50 | 0 replies | |
| 21/25 | drm/i915: add support for DDI-controlled digital outputsdrivers/ | +19 | 0 replies | |
| 22/25 | drm/i915: add WR PLL programming tabledrivers/ | +388 | 0 replies | |
| 23/25 | drm/i915: move HDMI structs to shared locationdrivers/ drivers/ | +21 | 1 reply | |
| 24/25 | drm/i915: prepare HDMI link for Haswelldrivers/ drivers/ drivers/ | +133 | 0 replies | |
| 25/25 | drm/i915: hook Haswell devices in placedrivers/ drivers/ | +11 | 1 reply |
Reviews trailers per patch
9 of 28 patches have a Reviewed-by or Acked-by.
| Patch | Rodrigo Vivi | Jesse Barnes | Ben Widawsky |
|---|---|---|---|
| 1/25 | |||
| 1/25 | |||
| 2/25 | |||
| 3/25 | R-b | R-b | |
| 4/25 | R-b | ||
| 5/25 | R-b | ||
| 6/25 | |||
| 7/25 | R-b | R-b | |
| 8/25 | |||
| 8/25 | |||
| 9/25 | |||
| 9/25 | |||
| 10/25 | |||
| 11/25 | |||
| 12/25 | R-b | ||
| 13/25 | R-b | ||
| 14/25 | |||
| 15/25 | |||
| 16/25 | |||
| 17/25 | |||
| 18/25 | |||
| 19/25 | R-b | ||
| 20/25 | |||
| 21/25 | R-b | ||
| 22/25 | |||
| 23/25 | R-b | ||
| 24/25 | |||
| 25/25 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 00/25] Haswell fixes
Hi,
Essentially those are the same patches as in the previous round, rebased on yesterday's drm-intel-next-queued, and with the following comments and suggestions from Daniel and Jesse addressed:
- Added all the new DIP controls, and a switch into hsw_write_infoframe to properly write frame contents for each type (asked by Jesse, Daniel).
- Rebased the interrupts handling code on top of drm-intel-next-queued (asked by Jesse).
- Show an error message when we are trying to use FDI over HSW+PPT combination (this was not tested yet, so probably won't work anyway) (asked by Jesse, Daniel).
- DDI module split clean-up to simplify patches reviewing (asked by Daniel).
- Added a new intel_update_linetime_watermarks callback, to setup line time watermarks that are dependant on the mode clock settings; add a note about IPS watermarks which are not yet there (asked by Jesse).
- Reworked iCLKIP clock setting to use algorithm for mode calculation instead of table, added checks for invalid values from Ben (thanks!!). WR PLL table is still there, but with an explicit comment saying that it is temporary and will go away at some point (asked pretty much everyone :))
- Adapted to the latest HDMI infoframes changes in drm-intel-next.
- Misc cleanups all around.
The CRT and higher level function separations for the LPT paths are not there. There is only 1 way to use VGA output on Haswell, and only 1 DDI can work in FDI mode for that, so I don't think it makes much sense adding specific functions for that considering that the LPT-specific chunks are quite small. We could simplify it later in the intel_display refactoring if the need arises.
Please review and comment, unless someone has any major concerns or issues with those I'd like to have them merged to drm-intel-next, for wider testing and availability!
Thanks,
Eugeni Dodonov (25):
drm/i915: add new Haswell DIP controls registers drm/i915: reuse Ivy Bridge interrupts code for Haswell drm/i915: add support for SBI ops
drm/i915: calculate watermarks for devices that have 3 pipes drm/i915: properly check for pipe count
drm/i915: show unknown sdvox registers on hdmi init drm/i915: do not use fdi_normal_train on Haswell drm/i915: detect PCH encoders on Haswell
drm/i915: enable power wells on Haswell init drm/i915: add LPT PCH checks
drm/i915: handle DDI-related assertions
drm/i915: account for only one PCH receiver on Haswell drm/i915: initialize DDI buffer translations drm/i915: support DDI training in FDI mode drm/i915: use ironlake eld write routine for Haswell drm/i915: define Haswell watermarks and clock gating drm/i915: program WM_LINETIME on Haswell
drm/i915: disable pipe DDI function when disabling pipe drm/i915: program iCLKIP on Lynx Point
drm/i915: detect digital outputs on Haswell drm/i915: add support for DDI-controlled digital outputs drm/i915: add WR PLL programming table
drm/i915: move HDMI structs to shared location drm/i915: prepare HDMI link for Haswell
drm/i915: hook Haswell devices in place
drivers/char/agp/intel-agp.c | 4 + drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/i915_drv.c | 7 + drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_irq.c | 11 +- drivers/gpu/drm/i915/i915_reg.h | 36 ++ drivers/gpu/drm/i915/intel_crt.c | 6 +- drivers/gpu/drm/i915/intel_ddi.c | 755 ++++++++++++++++++++++++++++++++++ drivers/gpu/drm/i915/intel_display.c | 306 ++++++++++++-- drivers/gpu/drm/i915/intel_drv.h | 29 +- drivers/gpu/drm/i915/intel_hdmi.c | 107 ++++- drivers/gpu/drm/i915/intel_pm.c | 87 +++- 12 files changed, 1299 insertions(+), 52 deletions(-) create mode 100644 drivers/gpu/drm/i915/intel_ddi.c
Signature · 1 line
1.7.10