Comment 15 for bug 336765

Revision history for this message
In , Sndirsch-suse (sndirsch-suse) wrote :

Hmm. Just a wild guess. Is this the fix?

Author: Zhenyu Wang <email address hidden>
Date: Wed Dec 10 10:54:31 2008 +0800

    Try to always probe SDVOC on 965G/965GM

    Detect bit of SDVOC is reserved on 965G/965GM, instead of ignore SDVOC
    this trys to always probe it on these chipsets.

diff --git a/src/i830_driver.c b/src/i830_driver.c
index 4f87efb..7590257 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -919,7 +919,9 @@ I830SetupOutputs(ScrnInfoPtr pScrn)
            i830_hdmi_init(pScrn, SDVOB);
       }

- if ((INREG(SDVOC) & SDVO_DETECTED) || pI830->force_sdvo_detect) {
+ if ((INREG(SDVOC) & SDVO_DETECTED) || pI830->force_sdvo_detect ||
+ /* SDVOC detect bit is reserved on 965G/965GM */
+ (IS_I965G(pI830) && !IS_G4X(pI830))) {
         Bool found = i830_sdvo_init(pScrn, SDVOC);

         if (!found && SUPPORTS_INTEGRATED_HDMI(pI830))