From fe9fba38e9c4bdb1b242760b9e565852f717de09 Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Wed, 23 Jul 2008 11:16:14 +0800 Subject: Fix HDMI output number Output 33 is confusing. (cherry picked from commit 29d982c6bf873c6685bd0e395a8b0e5e3b1063e0) --- src/i830_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i830_hdmi.c b/src/i830_hdmi.c index b738463c..58d1c49a 100644 --- a/src/i830_hdmi.c +++ b/src/i830_hdmi.c @@ -229,5 +229,5 @@ i830_hdmi_init(ScrnInfoPtr pScrn, int output_reg) xf86DrvMsg(pScrn->scrnIndex, X_INFO, "HDMI output %d detected\n", - 1 + (output_reg - SDVOB)); + (output_reg == SDVOB) ? 1 : 2); } -- cgit v1.2.3