xf86-video-intel: src/i830_hdmi.c

Zhenyu Wang zhen at kemper.freedesktop.org
Tue Jul 22 20:19:59 PDT 2008


 src/i830_hdmi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 29d982c6bf873c6685bd0e395a8b0e5e3b1063e0
Author: Zhenyu Wang <zhenyu.z.wang at intel.com>
Date:   Wed Jul 23 11:16:14 2008 +0800

    Fix HDMI output number
    
    Output 33 is confusing.

diff --git a/src/i830_hdmi.c b/src/i830_hdmi.c
index b738463..58d1c49 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);
 }


More information about the xorg-commit mailing list