On Thu, 2005-08-18 at 14:19 -0500, Alan Grimes wrote: > I installed the latest CVS DRM source a few days ago. (the kernel > modules), and it is still broken! =( > > Maybe if someone could point me in the general vicinity of the culprit, > I could take a whack at it myself... > > [EMAIL PROTECTED] ~/Croquet0.3 $ squeak > DRM_RADEON_TEXTURE: return = -11 > offset=0xea60e000 > image width=1024 height=512 > blit width=1024 height=2048 data=0x6e656200
I already explained the problem to you: For some reason, on your system, errno doesn't seem to contain EAGAIN even though the ioctl call returns -EAGAIN. Does the attached patch work for you? -- Earthling Michel Dänzer | Debian (powerpc), X and DRI developer Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer
Index: src/mesa/drivers/dri/r200/r200_texmem.c =================================================================== RCS file: /cvs/mesa/Mesa/src/mesa/drivers/dri/r200/r200_texmem.c,v retrieving revision 1.11 diff -p -u -r1.11 r200_texmem.c --- src/mesa/drivers/dri/r200/r200_texmem.c 10 Feb 2005 22:36:06 -0000 1.11 +++ src/mesa/drivers/dri/r200/r200_texmem.c 19 Aug 2005 15:41:10 -0000 @@ -427,7 +427,7 @@ static void uploadSubImage( r200ContextP fprintf(stderr, "DRM_RADEON_TEXTURE: again!\n"); usleep(1); } - } while ( ret && errno == EAGAIN ); + } while ( ret && ( ret == -EAGAIN || errno == EAGAIN ) ); UNLOCK_HARDWARE( rmesa );