[Bug 12902] VBlank related server hang in indirect rendering mode

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 28 09:08:08 PST 2008


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





--- Comment #13 from Michel Dänzer <michel at tungstengraphics.com>  2008-02-28 09:08:07 PST ---
(In reply to comment #12)
> Neither do I. And I do not understand ethier why drmWaitVBlank clear the
> DRM_VBLANK_RELATIVE flag when retrying after being interrupted by a signal ?

It's just a workaround for older DRMs that didn't do it yet. drm_wait_vblank()
adds the current sequence number to the relative wait period and treats it the
same way as an absolute wait then. So if the relative flag wasn't cleared,
interrupted relative waits would add the current sequence number again and
again.

Now that you mention this though, I notice there does seem to be a bug related
to interrupted waits. I'll attach a patch as I can't test it right now, it'll
be interesting whether it helps with this problem.


-- 
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