Skip to content

More HDMI fixes

Paulo Zanoni intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11drm/i915: add set_infoframes to struct intel_hdmidrivers/gpu/drm/i915/intel_ddi.c drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_hdmi.c+44 -41 reply
2/11drm/i915: properly alternate between DVI and HDMIdrivers/gpu/drm/i915/intel_hdmi.c+82 -30 replies
3/11drm/i915: only set the HDMI port on the DIP oncedrivers/gpu/drm/i915/intel_hdmi.c+31 -250 replies
4/11drm/i915: enable DIP before enabling each InfoFramedrivers/gpu/drm/i915/intel_hdmi.c+14 -80 replies
5/11drm/i915: don't wait for vblank while writing InfoFramesdrivers/gpu/drm/i915/intel_hdmi.c+0 -80 replies
6/11drm/i915: explicitly disable the DIPs we're not usingdrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_hdmi.c+19 -00 replies
7/11drm/i915: disable DIP while changing the portdrivers/gpu/drm/i915/intel_hdmi.c+23 -71 reply
8/11drm/i915: don't write 0 to DIP control at HDMI initdrivers/gpu/drm/i915/intel_hdmi.c+0 -101 reply
9/11drm/i915: don't set SDVO_BORDER_ENABLE when we're HDMIdrivers/gpu/drm/i915/intel_hdmi.c+1 -10 replies
10/11drm/i915: rename sdvox_reg to hdmi_reg on HDMI contextdrivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_hdmi.c+37 -370 replies
11/11drm/i915: remove comment about HSW HDMI DIPsdrivers/gpu/drm/i915/intel_hdmi.c+0 -30 replies

Reviews trailers per patch

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

PatchJesse Barnes
1/11
2/11
3/11
4/11
5/11
6/11
7/11
8/11A-b
9/11
10/11
11/11

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/11] More HDMI fixes

From: Paulo Zanoni <[email protected]>

Hi

This is my final patch series dealing with HDMI InfoFrames. It's on top of the drm-intel-next-queued tree.

For now, everything seems to follow the specification from Gen 4 to HSW and I'm happy with the code. The only thing missing is support for even more DIPs, but these should not change the current functions: just add a few others.

One of the main additions of this series is the 'set_infoframes' function that now completely resets the state of the DIP registers at every mode set. This allowed us to implement the remaining fixes of the series in a proper way.

Patches that only change coding style and/or restructure code:
- 1, 3, 4, 10, 11
The most important patches, IMHO, are:
- 2, 5, 7, 8

I tested these patches on Gen4, ILK, SNB and IVB. Some were desktops, some were laptops.

Thanks,
Paulo

Paulo Zanoni (11):
drm/i915: add set_infoframes to struct intel_hdmi drm/i915: properly alternate between DVI and HDMI drm/i915: only set the HDMI port on the DIP once drm/i915: enable DIP before enabling each InfoFrame drm/i915: don't wait for vblank while writing InfoFrames drm/i915: explicitly disable the DIPs we're not using drm/i915: disable DIP while changing the port drm/i915: don't write 0 to DIP control at HDMI init drm/i915: don't set SDVO_BORDER_ENABLE when we're HDMI drm/i915: rename sdvox_reg to hdmi_reg on HDMI context drm/i915: remove comment about HSW HDMI DIPs

 drivers/gpu/drm/i915/i915_reg.h   |    6 +
 drivers/gpu/drm/i915/intel_ddi.c  |    3 +-
 drivers/gpu/drm/i915/intel_drv.h  |    6 +-
 drivers/gpu/drm/i915/intel_hdmi.c |  322 ++++++++++++++++++++++++++-----------
 4 files changed, 241 insertions(+), 96 deletions(-)
Signature · 1 line
1.7.10