]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: use staged outuput config in tv->mode_fixup
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 8 Jul 2012 17:41:43 +0000 (19:41 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Sep 2012 06:20:31 +0000 (08:20 +0200)
commit9985278a84099ad005238f18c82ef7435d101a8a
tree038e38b47c351e783221d2caa3333350d2e94ddc
parent13bac6d28850db55b530e0e11f5b3bce8741deb5
drm/i915: use staged outuput config in tv->mode_fixup

The "is this encoder cloned" check will be reused by the lvds encoder,
hence exract it.

v2: Be a bit more careful about that we need to check the new, staged
ouput configuration in the check_non_cloned helper ...

v3: 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_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_tv.c