[PATCH 2/2] radeon: Fix DRI2BufferPtr to be DRI2Buffer2Ptr for xserver 1.6.

Pauli Nieminen suokkos at gmail.com
Sat Aug 29 09:48:15 PDT 2009


Patch which bumps required xserver version to 1.6.2

2009/8/29 Michel Dänzer <michel at daenzer.net>

> On Fri, 2009-08-28 at 20:51 +0300, Pauli Nieminen wrote:
> >
> > 2009/8/28 Michel Dänzer <michel at daenzer.net>
> >         On Fri, 2009-08-28 at 17:06 +0300, Pauli Nieminen wrote:
> >         > ---
> >         >  src/radeon_dri2.c |   22 ++++++++++++++--------
> >         >  1 files changed, 14 insertions(+), 8 deletions(-)
> >         >
> >         > diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
> >         > index 613fde8..051cc78 100644
> >         > --- a/src/radeon_dri2.c
> >         > +++ b/src/radeon_dri2.c
> >         > @@ -46,6 +46,12 @@
> >         >  #define USE_DRI2_1_1_0
> >         >  #endif
> >         >
> >         > +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,6,99,0,
> >         0)
> >         > +typedef DRI2BufferPtr BufferPtr;
> >         > +#else
> >         > +typedef DRI2Buffer2Ptr BufferPtr;
> >         > +#endif
> >
> >
> >         Will this work with xserver 1.6.1 and older? Not sure it
> >         matters, just
> >         so we're clear.
> >
> > I don't know. Is there simple workaround? If not we should only
> > support 1.6.2 and above in ddx master. If we decide not to support
> > older xserver in master then I can look atadding configure check for
> > xserver version.
>
> Only supporting DRI2 as of xserver 1.6.2 sounds good to me.
>
>
> --
> Earthling Michel Dänzer           |                http://www.vmware.com
> Libre software enthusiast         |          Debian, X and DRI developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.x.org/archives/xorg-driver-ati/attachments/20090829/dc8f1811/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-radeon-Fix-DRI2BufferPtr-to-be-DRI2Buffer2Ptr-for-xs.patch
Type: text/x-patch
Size: 3551 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-driver-ati/attachments/20090829/dc8f1811/attachment-0001.bin 


More information about the xorg-driver-ati mailing list