diff options
author | Chon Ming Lee <chon.ming.lee@intel.com> | 2014-04-09 06:28:21 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-05-12 13:50:16 -0400 |
commit | 44f37d1f528a5b7c4703e77a710c7fa8a0e452f9 (patch) | |
tree | cb98b1b586a456f411fe4319736431a1fb89da35 /drivers/gpu/drm/i915/intel_hdmi.c | |
parent | e4a1d8467d9ecd793b10d7a49ae32a9f50886aec (diff) |
drm/i915/chv: Pipe select change for DP and HDMI
With additional of pipe C, current 1 bit registers for pipe select
for HDMI and DP are no longer able to gather for 3 pipes. As a result,
new bits location in the same registers are added.
For HDMI, VLV uses bit 30, CHV uses bit 24-25.
For DP, VLV uses bit 30, CHV uses bit 16-17.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Chon Ming Lee <chon.ming.lee@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_hdmi.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_hdmi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index 586cee04cc06..e422cfaebb03 100644 --- a/drivers/gpu/drm/i915/intel_hdmi.c +++ b/drivers/gpu/drm/i915/intel_hdmi.c | |||
@@ -664,6 +664,8 @@ static void intel_hdmi_mode_set(struct intel_encoder *encoder) | |||
664 | 664 | ||
665 | if (HAS_PCH_CPT(dev)) | 665 | if (HAS_PCH_CPT(dev)) |
666 | hdmi_val |= SDVO_PIPE_SEL_CPT(crtc->pipe); | 666 | hdmi_val |= SDVO_PIPE_SEL_CPT(crtc->pipe); |
667 | else if (IS_CHERRYVIEW(dev)) | ||
668 | hdmi_val |= SDVO_PIPE_SEL_CHV(crtc->pipe); | ||
667 | else | 669 | else |
668 | hdmi_val |= SDVO_PIPE_SEL(crtc->pipe); | 670 | hdmi_val |= SDVO_PIPE_SEL(crtc->pipe); |
669 | 671 | ||