drm/i915: don't count cpu ports for fdi B/C lane sharing
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 19 Feb 2013 21:31:57 +0000 (22:31 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 29 Apr 2013 19:51:16 +0000 (21:51 +0200)
commit1e833f40eb38b033ea185687daa72c073f1acc15
tree0fffd268962fd7f1ff52082eee76823381d31f42
parent1857e1daa0695d45b2639ac9e3cfcdaede4a7f8a
drm/i915: don't count cpu ports for fdi B/C lane sharing

This allows us to use all 4 fdi lanes on fdi B when the cpu eDP is
running on pipe C. Yay!

v2: Encapsulate test into a little helper function, as suggested by
Chris Wilson.

Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c