drm/i915: use staged outuput config in lvds->mode_fixup
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 8 Jul 2012 18:17:15 +0000 (20:17 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Sep 2012 06:20:58 +0000 (08:20 +0200)
commite24c5c2900ba45e2fa5ed8575ab75f6d4c7e8156
tree8fdc9c941bc262093f6a27901f45280774dab9f4
parent6ed0f796c22cd638fac60f29ff72b3a7a03485e6
drm/i915: use staged outuput config in lvds->mode_fixup

- Use the check_cloned helper from the previous patch.
- Use encoder->new_crtc to check crtc properties.

v2: Kill the double negation with s/!non_cloned/is_cloned, suggested
by Jesse Barnes.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lvds.c