Re: [PATCH] Mach64: Check pScreenInfo->driverName in ATIMach64XVInitialiseAdaptor

2008-09-09 Thread Adam Jackson
On Mon, 2008-09-08 at 19:05 -0700, Aaron Plattner wrote: > This patch fixes a bug that causes problems when non-mach64 screens are > present. ATIMach64XVInitialiseAdaptor gets called by any driver that calls > xf86XVListGenericAdaptors, and it happily does this: > > > > As you can imagine, this

[PATCH] Mach64: Check pScreenInfo->driverName in ATIMach64XVInitialiseAdaptor

2008-09-08 Thread Aaron Plattner
This patch fixes a bug that causes problems when non-mach64 screens are present. ATIMach64XVInitialiseAdaptor gets called by any driver that calls xf86XVListGenericAdaptors, and it happily does this: Breakpoint 1, ATIMach64XVInitialiseAdaptor (pScreenInfo=0x81f2b0, pppAdaptor=0x7fff75dcdea0) at