Three recent blog postings on DRI3000

Maarten Lankhorst maarten.lankhorst at canonical.com
Wed Jul 24 08:34:05 PDT 2013


Op 24-07-13 02:49, Keith Packard schreef:
> I spent the weekend writing a pile of code to implement vblank
> synchronized blts and flips for Present, and then spent the last two
> days writing up what I did and what I'm planning to do.
>
> First, some kernel hacking I did to make asynchronous flipping (i.e.,
> not sync'd to vblank) possible:
>
>         http://keithp.com/blogs/async_flip/
>
> Next, I wrote up a discussion on how I implemented vblank-synchronized
> PresentRegion blts, and added flips as well:
>
>         http://keithp.com/blogs/present_sync/
>
> Finally, I wrote up a discussion and proposal on redirection of
> PresentRegion operations. The proposal piece describes the set of
> changes necessary to implement the simplest form.
>
>         http://keithp.com/blogs/present-redirect/
>
> Feel free to cut&paste content from those articles and comment on them
> here. I guess another option would be to simply post them here for
> people to comment directly?
>
One of the things that bug me in dri2 is that I have to use the absolute frame number in the swapbuffers call.
This breaks when moving a window from 1 screen to another. And for example mesa/src/gallium/auxiliary/vl/vl_winsys_dri.c
has to deal with converting time to frame number, which breaks if a window is moved to another crtc. Instead of scheduling
frames with absolute frame number, could a system time like CLOCK_MONOTONIC be used instead, and have the kernel
drm layer round this to the nearest frame?

~Maarten


More information about the xorg-devel mailing list