On 14 Aug 2008, at 21:53, Thomas Hilber wrote:
a good idea, but in the case of 'xserver-xorg-video-ati' true hardware double buffers are supported. If a new PutImage() comes in the DDX simply toggles to the other double buffer and starts to write there. No matter this buffer ever has been completely read by CRT controller.
So there is no mechanism waiting here for something as far as I can see.
Since you're using the vsync irq in any case, the best solution would be to notify user space at irq time that it should 'PutImage' a new frame.