drm/i915: Use cpu_transcoder for HSW_TVIDEO_DIP_* instead of pipe
authorRodrigo Vivi <rodrigo.vivi@gmail.com>
Mon, 25 Feb 2013 22:55:16 +0000 (19:55 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 3 Mar 2013 17:24:52 +0000 (18:24 +0100)
commit7d9bcebe13397f6621a44b998860ae0c8049b10c
tree0f98dc57b6b2c8f4a1a6974d1c7f58382ea52251
parent46c06a30dfd63b1200dda2337c145e262798b9cf
drm/i915: Use cpu_transcoder for HSW_TVIDEO_DIP_* instead of pipe

While old platforms had 3 transcoders and 3 pipes (1:1), HSW has
4 transcoders and 3 pipes.
These regs were being used only by HDMI code where pipe is always the same
thing as cpu_transcoder.
This patch allow us to use them for DP, specially for TRANSCODER_EDP.

v2: Adding HSW_TVIDEO_DIP_VSC_DATA to transmit vsc to eDP.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_hdmi.c