drm/i915: dual link pipe selection for bxt
authorDeepak M <m.deepak@intel.com>
Wed, 9 Dec 2015 14:44:04 +0000 (20:14 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 11 Dec 2015 16:28:24 +0000 (17:28 +0100)
commit56c48978413ec5a22b960826948063cae5df5a5f
treed3e8453c0bd23def03fb50cb5b70098c0e7daac6
parentc85f6c91ec4218487a29a7d1f918f7f6f0424c75
drm/i915: dual link pipe selection for bxt

Pipe is assigned based on the port, but it should be
based on current crtc. Correcting the same in this patch.

v2: Use macro BXT_PIPE_SELECT(pipe) (Daniel)

Signed-off-by: Deepak M <m.deepak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dsi.c