[Intel-gfx] [PATCH 0/3] drm/i915: "Fix" g4x infoframes w/ multiple HDMI/DVI monitors

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Thu Jan 23 22:15:32 CET 2014


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

I was readin the infoframe code a bit today, and noticed that g4x can't
transmit infoframes to more than one port, even though it can have two
HDMI/DVI ports.

So I decided to "fix" it by making it work on a first come, first served
basis. This at least makes it reasonable to have a HDMI + DVI monitors
hooked up to the same machine w/o the DVI clobbering the HDMI infoframes.

Tested quickly on an ELK w/ HDMI and DVI monitors attached.

If we allowed HDMI cloning, we'd have a similar problem on PCH platforms
since the DIP stuff lives on the transcoder. But we don't allow that currently
so I left the code alone. Also a quick gander at IBX spec says that
feeding multiple HDMI ports from the same transcoder isn't supported. But
I suspect that might be exactly because of this infoframe issue. I've not
asked for clarification on that, nor have I tried HDMI cloning on PCH yet.
Maybe I'll do that at some point if I get bored :)

Ville Syrjälä (3):
  drm/i915: Add encoder .off() hook
  drm/i915: Convert DIP port switch cases to a simple macro
  drm/i915: Make infoframe trnsmission more reliable on g4x

 drivers/gpu/drm/i915/i915_reg.h      |  4 +--
 drivers/gpu/drm/i915/intel_display.c |  5 +++
 drivers/gpu/drm/i915/intel_drv.h     |  1 +
 drivers/gpu/drm/i915/intel_hdmi.c    | 63 +++++++++++++++++++-----------------
 4 files changed, 40 insertions(+), 33 deletions(-)

-- 
1.8.3.2




More information about the Intel-gfx mailing list