[Nouveau] [Bug 13944] nouveau video blitter gives tearing with two outputs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 6 07:35:27 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=13944





------- Comment #1 from drzeus-bugzilla at drzeus.cx  2008-01-06 07:35 PST -------
The problem is this part of NVWaitVSync():

        /* If crtc1 is active, this will produce one, otherwise zero */
        /* The assumption is that at least one is active */
        OUT_RING  (pNv->crtc_active[1]);

What happens is that it will wait for vsync on CRTC 1 if it's active, and CRTC
0 otherwise. I assume this was added because bad things happen if you wait for
an inactive CRTC.

This is of course very incorrect in dual-head as it means it will always wait
for CRTC 1. And the vsync of the two CRTCs are unlikely to occur at the same
time.

To fix this, the NVWaitVSync() function needs to wait on the relevant CRTC. But
pScrn seems to be card global, so I guess another parameter needs to be added.
I'm not sure how the callers can determine it either though.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Nouveau mailing list