[PATCH 2/2] DRI2: Add error message when working around driver bug

Pauli Nieminen ext-pauli.nieminen at nokia.com
Thu Nov 11 00:08:32 PST 2010


On 10/11/10 23:39 +0100, ext Keith Packard wrote:
> On Mon, 25 Oct 2010 17:13:58 +0300, Pauli Nieminen <ext-pauli.nieminen at nokia.com> wrote:
> 
> > There isn't API that allows application atomically query for msc changes
> > and schedule swaps. If msc changes dramatically between query and
> > scheduling application would schedule swap to happen at wrong time.
> > 
> > Because of API limitations driver has to make msc increment for each
> > vblank affecting the drawable.
> 
> This thread ended without an updated patch or a Rb: line. Is this ready
> for the server?
> 

I did send updated patch. I forgot to add reply-to to updated patch set. Mario
did review that patch set. This patch is included under "[PULL] DRI2 fixes and
extensions".

Pull request was

The following changes since commit a52efb096e166e325deb3d6b502671f339a4fa15:
 Keith Packard (1):
       Merge remote branch 'sthibaul/master-iopl'

are available in the git repository at:

 ssh://people.freedesktop.org/~suokko/xserver.git dri2_patches

Pauli Nieminen (5):
     DRI2: Avoid call to NULL pointer
     DRI2: Add error message when working around driver bug
     DRI2: Add ReuseBufferNotify hook
     DRI2: Expose API to set drawable swap limit.
     DRI2: Allow DDX to validate swap_limit changes

 hw/xfree86/dri2/dri2.c |   63 ++++++++++++++++++++++++++++++++++++++++++++----
 hw/xfree86/dri2/dri2.h |   31 ++++++++++++++++++++++-
 2 files changed, 88 insertions(+), 6 deletions(-)



More information about the xorg-devel mailing list