[Bug 12626] Interlaced modes broken in latest git
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jul 22 12:45:31 PDT 2008
http://bugs.freedesktop.org/show_bug.cgi?id=12626
--- Comment #63 from Mike Pieper <mike at pieper-family.de> 2008-07-22 12:45:28 PST ---
With this patch I get on my hardware (X1250 IGP) at least the same behavior
like the others, i.e. after switching resolution with xrandr I have a correct
picture:
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c
index 70650e1..18885e6 100644
--- a/src/atombios_crtc.c
+++ b/src/atombios_crtc.c
@@ -493,7 +493,7 @@ atombios_crtc_mode_set(xf86CrtcPtr crtc,
OUTREG(AVIVO_D1GRPH_X_END + radeon_crtc->crtc_offset, x +
mode->HDisplay);
OUTREG(AVIVO_D1GRPH_Y_END + radeon_crtc->crtc_offset, y +
mode->VDisplay);
OUTREG(AVIVO_D1GRPH_PITCH + radeon_crtc->crtc_offset,
- crtc->scrn->displayWidth);
+ crtc->scrn->displayWidth << ((adjusted_mode->Flags &
V_INTERLACE)?1:0));
OUTREG(AVIVO_D1GRPH_ENABLE + radeon_crtc->crtc_offset, 1);
OUTREG(AVIVO_D1MODE_DESKTOP_HEIGHT + radeon_crtc->crtc_offset,
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the xorg-driver-ati
mailing list