diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/i810_reg.h | 4 | ||||
-rw-r--r-- | src/i830_sdvo.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/i810_reg.h b/src/i810_reg.h index 9da258a7..e0b0c272 100644 --- a/src/i810_reg.h +++ b/src/i810_reg.h @@ -1252,6 +1252,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define SDVO_CLOCK_OUTPUT_INVERT (1 << 18) #define SDVOC_GANG_MODE (1 << 16) #define SDVO_BORDER_ENABLE (1 << 7) +/** new with 965, default is to be set */ +#define SDVO_VSYNC_ACTIVE_HIGH (1 << 4) +#define SDVO_HSYNC_ACTIVE_HIGH (1 << 3) +/** 915/945 only, read-only bit */ #define SDVOB_PCIE_CONCURRENCY (1 << 3) #define SDVO_DETECTED (1 << 2) /* Bits to be preserved when writing */ diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c index 23791274..331059bf 100644 --- a/src/i830_sdvo.c +++ b/src/i830_sdvo.c @@ -873,7 +873,9 @@ i830_sdvo_mode_set(xf86OutputPtr output, DisplayModePtr mode, /* Set the SDVO control regs. */ if (IS_I965G(pI830)) { - sdvox = SDVO_BORDER_ENABLE; + sdvox = SDVO_BORDER_ENABLE | + SDVO_VSYNC_ACTIVE_HIGH | + SDVO_HSYNC_ACTIVE_HIGH; } else { sdvox = INREG(dev_priv->output_device); switch (dev_priv->output_device) { |