[Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

Jesse Barnes jbarnes at virtuousgeek.org
Thu Apr 30 17:39:53 CEST 2009

On Thu, 30 Apr 2009 08:08:36 +0200
Michel Dänzer <michel at daenzer.net> wrote:

> On Wed, 2009-04-29 at 18:02 -0700, Jesse Barnes wrote:
> > On Wed, 29 Apr 2009 15:09:33 -0700
> > Jesse Barnes <jbarnes at virtuousgeek.org> wrote:
> > > I'm still working through mutlihead issues on the kernel side; the
> > > flip waits should wait for *both* vblank events before completing
> > > the flip.  But other than that, I'm pretty happy with things.
> > 
> > This incremental set fixes up the multihead handling and adds swap
> > interval support as a bonus.  It's nice to see flipping & no
> > tearing on two heads at once!
> Is there a mechanism for choosing the CRTC to sync to in ambiguous
> cases? E.g. either a driconf option (allowing per application
> configuration) or a RandR property (allowing global configuration)
> would be nice I think.

The kernel is supposed to handle it and reject flips on disabled CRTCs
so I was hoping it wouldn't be necessary.

But the 2D driver controls which CRTC id is passed to the kernel, so it
could be exposed as an xrandr option possibly.

Jesse Barnes, Intel Open Source Technology Center

More information about the Intel-gfx mailing list