diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-07-23 11:16:14 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-07-23 14:46:53 +0800 |
commit | fe9fba38e9c4bdb1b242760b9e565852f717de09 (patch) | |
tree | 5f58b6cbe587943e5058cd1d230fb13ecb477c72 /src/i830_hdmi.c | |
parent | 3f5c9bd512907238a2fd6746a41d8703aefe39e9 (diff) |
Fix HDMI output number
Output 33 is confusing.
(cherry picked from commit 29d982c6bf873c6685bd0e395a8b0e5e3b1063e0)
Diffstat (limited to 'src/i830_hdmi.c')
-rw-r--r-- | src/i830_hdmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |