summaryrefslogtreecommitdiff
path: root/src/radeon_output.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2008-07-21 13:47:09 -0400
committerAlex Deucher <alexdeucher@gmail.com>2008-07-21 13:47:09 -0400
commitb0378bb145c8a915c943bef7d17f2cdecfccc891 (patch)
tree091b235a7706f14115ebcdb86513798fb763defe /src/radeon_output.c
parentc18fad622a3c4f9572051120d83af68b625b5686 (diff)
Interlaced mode fixups for AVIVO chips
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r--src/radeon_output.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 64f14c26..77533cc1 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -582,6 +582,13 @@ radeon_mode_fixup(xf86OutputPtr output, DisplayModePtr mode,
}
}
+ if (IS_AVIVO_VARIANT) {
+ /* hw bug */
+ if ((mode->Flags & V_INTERLACE)
+ && (mode->CrtcVSyncStart < (mode->CrtcVDisplay + 2)))
+ adjusted_mode->CrtcVSyncStart = adjusted_mode->CrtcVDisplay + 2;
+ }
+
return TRUE;
}