summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-03-20 13:49:47 -0700
committerEric Anholt <eric@anholt.net>2008-06-19 15:01:35 -0700
commitdc8ab9d35b261b6105a62949cfb47a3554531d0b (patch)
treec465300bebd4d77d3f5ac67702fd3d207294a21d
parentaf13826ed063b60a1e4179101e8889b4ab7a9d0b (diff)
Set the sync active bits like we're supposed to, matching the BIOS.
-rw-r--r--src/i810_reg.h3
-rw-r--r--src/i830_hdmi.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/i810_reg.h b/src/i810_reg.h
index ecc26867..515e73d1 100644
--- a/src/i810_reg.h
+++ b/src/i810_reg.h
@@ -1262,8 +1262,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
/** Requird for HDMI operation */
#define SDVO_NULL_PACKETS_DURING_VSYNC (1 << 9)
#define SDVO_BORDER_ENABLE (1 << 7)
-/** new with 965, default is to be set */
+/** New with 965, default is to be set */
#define SDVO_VSYNC_ACTIVE_HIGH (1 << 4)
+/** New with 965, default is to be set */
#define SDVO_HSYNC_ACTIVE_HIGH (1 << 3)
/** 915/945 only, read-only bit */
#define SDVOB_PCIE_CONCURRENCY (1 << 3)
diff --git a/src/i830_hdmi.c b/src/i830_hdmi.c
index 77a51c6c..931a55c3 100644
--- a/src/i830_hdmi.c
+++ b/src/i830_hdmi.c
@@ -88,7 +88,9 @@ i830_hdmi_mode_set(xf86OutputPtr output, DisplayModePtr mode,
sdvox = SDVO_ENCODING_HDMI |
SDVO_BORDER_ENABLE |
- SDVO_NULL_PACKETS_DURING_VSYNC;
+ SDVO_NULL_PACKETS_DURING_VSYNC |
+ SDVO_VSYNC_ACTIVE_HIGH |
+ SDVO_HSYNC_ACTIVE_HIGH;
if (intel_crtc->pipe == 1)
sdvox |= SDVO_PIPE_B_SELECT;