drm/i915: track is_dual_link in intel_lvds
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 26 Nov 2012 16:22:10 +0000 (17:22 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 29 Nov 2012 11:36:57 +0000 (12:36 +0100)
commit13c7d8703127334890c894ddab13b3a92a26580a
tree5dcc1c9e98c52ec22be9b5c08c63f9a586777bca
parent1974cad0ee4ce84e5cb792e49c4f0d9421e0312c
drm/i915: track is_dual_link in intel_lvds

Yeah, all users (both the clock selection special cases and the lvds
pin pair stuff) are still in common code, but this will change.

v2: Rebase on top of Jani Nikula's panel rework.

v3: Incorporate review from Paulo Zanoni:
- s/__is_dual_link_lvds/compute_is_dual_link_lvds
- kill dev_priv->lvds_val
- drop spurious whitespace change

v4: Add a debug printk to display the dual-link status, as suggested
by Paulo Zanoni in review.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> (v3)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_lvds.c