From c322a7cb99ff197cfefb4f3464829584aa23fa88 Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Wed, 26 Nov 2008 11:38:48 +0800 Subject: [PATCH] Add LVDS GPIO pin check in CRT detect --- src/i830_crt.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/i830_crt.c b/src/i830_crt.c index ad81fbb..a93d1be 100644 --- a/src/i830_crt.c +++ b/src/i830_crt.c @@ -481,6 +481,10 @@ i830_crt_get_modes (xf86OutputPtr output) goto found; if ((edid_mon = i830_get_edid(output, GPIOE, "CRTDDC_E"))) goto found; + /* Some hardware like Aopen minipc might use LVDS GPIO pin for + CRT. */ + if ((edid_mon = i830_get_edid(output, GPIOC, "CRTDDC_C"))) + goto found; found: /* Destroy DDC bus after probe, so every other new probe will scan all ports again */ -- 1.5.6.5