[Intel-gfx] [PATCH 00/11] More HDMI fixes

Paulo Zanoni przanoni at gmail.com
Thu May 24 22:49:42 CEST 2012


From: Paulo Zanoni <paulo.r.zanoni at intel.com>

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(-)

-- 
1.7.10




More information about the Intel-gfx mailing list