[Intel-gfx] [PATCH] Set lvds dual channel according to register from vbios
Ma, Ling
ling.ma at intel.com
Thu Jul 9 12:33:11 CEST 2009
Sorry, I forget to append "drm/i915" into patch title, will resend it.
>-----Original Message-----
>From: intel-gfx-bounces at lists.freedesktop.org
>[mailto:intel-gfx-bounces at lists.freedesktop.org] On Behalf Of
>ling.ma at intel.com
>Sent: 2009年7月9日 18:27
>To: eric at anholt.net
>Cc: intel-gfx at lists.freedesktop.org
>Subject: [Intel-gfx] [PATCH] 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 at mickler.org>
>---
> 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 508838e..3371cb0 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,
> int err = target;
>
> if (IS_I9XX(dev) && intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS) &&
>- (I915_READ(LVDS) & LVDS_PORT_EN) != 0) {
>+ (I915_READ(LVDS)) != 0) {
> /*
> * For LVDS, if the panel is on, just rely on its current
> * settings for dual-channel. We haven't figured out how to
>--
>1.5.4.4
>
>_______________________________________________
>Intel-gfx mailing list
>Intel-gfx at lists.freedesktop.org
>http://lists.freedesktop.org/mailman/listinfo/intel-gfx
More information about the Intel-gfx
mailing list