drm/i915: Disable all infoframes when turning off the HDMI port
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 May 2015 14:06:24 +0000 (17:06 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 15 Jun 2015 09:35:45 +0000 (11:35 +0200)
commit0be6f0c835077bb4dc7346e8eb75329d131a445b
treed81a365b8c50ded079304d77dc90d4916e91ba08
parentbf868c7ddaa7fd5645fbc01cf2c4ad6ddd64c142
drm/i915: Disable all infoframes when turning off the HDMI port

Currently we just disable the GCP infoframe when turning off the port.
That means if the same transcoder is used on a DP port next, we might
end up pushing infoframes over DP, which isn't intended. Just disable
all the infoframes when turning off the port.

Also protect against two ports stomping on each other on g4x due to
the single video DIP instance. Now only the first port to enable
gets to send infoframes.

v2: Rebase

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chandra Konduru <Chandra.konduru@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_hdmi.c