Skip to content

Haswell pipe and clocking fixes

Paulo Zanoni intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10drm/i915: rewrite the LCPLL codedrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_ddi.c drivers/gpu/drm/i915/intel_display.c +1 more+45 -62 replies
2/10drm/i915: enable and disable DDI_FUNC_CTL at the right timedrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_ddi.c drivers/gpu/drm/i915/intel_display.c +1 more+74 -191 reply
3/10drm/i915: enable and disable PIPE_CLK_SEL at the right timedrivers/gpu/drm/i915/intel_ddi.c drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h+41 -41 reply
4/10drm/i915: add haswell_crtc_mode_setdrivers/gpu/drm/i915/intel_display.c+186 -11 reply
5/10drm/i915: add proper CPU/PCH checks to crtc_mode_set functionsdrivers/gpu/drm/i915/intel_display.c+115 -971 reply
6/10drm/i915: add haswell_set_pipeconfdrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_display.c+27 -11 reply
7/10drm/i915: completely rewrite the Haswell PLL handling codedrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_ddi.c +3 more+238 -542 replies
8/10drm/i915: don't rely on previous values set on DDI_BUF_CTLdrivers/gpu/drm/i915/intel_ddi.c+1 -53 replies
9/10drm/i915: disable DDI_BUF_CTL at the correct timedrivers/gpu/drm/i915/intel_ddi.c+23 -101 reply
10/10drm/i915: pipe and planes should be disabled on haswell_crtc_mode_setdrivers/gpu/drm/i915/intel_display.c+5 -22 replies

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by.

PatchDamien Lespiau
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10
9/10R-b
10/10R-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 00/10] Haswell pipe and clocking fixes

From: Paulo Zanoni <[email protected]>

Hi

This is a resend of the first 10 patches of the 47-patch series sent a few days ago, with comments received on IRC and email applied.

Main changes:
- Patch 1 rewritten. Damien pointed some things and I also had a conversation with an engineer and concluded that we should only check the LCPLL value and print errors in case it's not exactly what we expect. This register should be set by the BIOS and we shouldn't be changing it. Also, enabling/disabling LCPLL is very complicated and would require a lot of code.
- Reordered patches. As pointed by Chris and Damien we should first fork haswell_crtc_mode_set and then change it, instead of changing ironlake_crtc_mode_set, forking a haswell version and then undoing the changes in ironlake_crtc.

This was the first of the 4 sub-series. So far I don't have things to change on the second series (patches 11-24), so feel free to review them as they are. After the changes on the first 10 patches, only patch 23 gets a very small conflict, so I won't resend the whole series again.

I have some changes for the third series (25-38) so for now let's focus on patches 1-10 and 11-24.

Paulo Zanoni (10):
drm/i915: rewrite the LCPLL code
drm/i915: enable and disable DDI_FUNC_CTL at the right time drm/i915: enable and disable PIPE_CLK_SEL at the right time drm/i915: add haswell_crtc_mode_set
drm/i915: add proper CPU/PCH checks to crtc_mode_set functions drm/i915: add haswell_set_pipeconf
drm/i915: completely rewrite the Haswell PLL handling code drm/i915: don't rely on previous values set on DDI_BUF_CTL drm/i915: disable DDI_BUF_CTL at the correct time drm/i915: pipe and planes should be disabled on haswell_crtc_mode_set

 drivers/gpu/drm/i915/i915_drv.h      |   7 +
 drivers/gpu/drm/i915/i915_reg.h      |   9 +
 drivers/gpu/drm/i915/intel_ddi.c     | 441 ++++++++++++++++++++++++++++-------
 drivers/gpu/drm/i915/intel_display.c | 275 +++++++++++++++++++++-
 drivers/gpu/drm/i915/intel_drv.h     |  12 +
 drivers/gpu/drm/i915/intel_hdmi.c    |   2 +
 6 files changed, 651 insertions(+), 95 deletions(-)
Signature · 1 line
1.7.11.4