From b0378bb145c8a915c943bef7d17f2cdecfccc891 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Mon, 21 Jul 2008 13:47:09 -0400 Subject: Interlaced mode fixups for AVIVO chips --- src/radeon_output.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/radeon_output.c') 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; } -- cgit v1.2.3