diff options
author | Florian Mickler <florian@mickler.org> | 2009-07-13 06:40:32 -0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-07-13 18:24:40 -0400 |
commit | 832cc28d5bc676331e6376d940ae45d5937aa688 (patch) | |
tree | 8c672a09636e300d90d3a691c68a1f629482f462 | |
parent | 7638d5322bd89d49e013a03fe2afaeb6d214fabd (diff) |
drm/i915: Set lvds dual channel according to register from vbios
Vbios will set lvds register correctly based on
current algorithm for lingle/dual Channel LVDS when
system boot, so we can accept this configuration
directly, regardless of LVDS enable status.
It fixed freedesktop.org bug #22262
Signed-off-by: Florian Mickler <florian@mickler.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 508838ee31e0..3371cb0ba81b 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -645,7 +645,7 @@ intel_find_best_PLL(const intel_limit_t *limit, struct drm_crtc *crtc, | |||
645 | int err = target; | 645 | int err = target; |
646 | 646 | ||
647 | if (IS_I9XX(dev) && intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS) && | 647 | if (IS_I9XX(dev) && intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS) && |
648 | (I915_READ(LVDS) & LVDS_PORT_EN) != 0) { | 648 | (I915_READ(LVDS)) != 0) { |
649 | /* | 649 | /* |
650 | * For LVDS, if the panel is on, just rely on its current | 650 | * For LVDS, if the panel is on, just rely on its current |
651 | * settings for dual-channel. We haven't figured out how to | 651 | * settings for dual-channel. We haven't figured out how to |