[PATCH] viafb: Do not probe for LVDS/TMDS on OLPC XO-1.5

Chris Ball cjb at laptop.org
Sun Jun 7 19:00:06 EDT 2009

Hi Harald,

Here's a tested patch to remove the 25-second delay we were seeing on
boot with viafb.  If you think it makes more sense to add this as a
"viafb_noprobe_{lvds,tmds}" pair of params, I'd be happy to do that.
Please review and send upstream.


- Chris.

From: Chris Ball <cjb at laptop.org>
Date: Sun, 7 Jun 2009 17:40:25 -0400
Subject: [PATCH] viafb: Do not probe for LVDS/TMDS on OLPC XO-1.5

The i2c transactions involved in detecting LVDS (9 seconds) and TMDS
(16 seconds) add an extra 25 seconds to viafb load time on the XO-1.5.

Signed-off-by: Chris Ball <cjb at laptop.org>
 drivers/video/via/hw.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c
index 93437e4..c3dd10d 100644
--- a/drivers/video/via/hw.c
+++ b/drivers/video/via/hw.c
@@ -2112,6 +2112,9 @@ static void init_gfx_chip_info(struct pci_dev *pdev,
 static void init_tmds_chip_info(void)
+#ifdef CONFIG_OLPC_XO_1_5
+	return;
 	if (INTERFACE_NONE == viaparinfo->chip_info->tmds_chip_info.
@@ -2165,7 +2168,9 @@ static void init_lvds_chip_info(void)
 		viaparinfo->lvds_setting_info->get_lcd_size_method =
+#ifndef CONFIG_OLPC_XO_1_5

More information about the Devel mailing list