Re: [PATCH] drmStrdup doesn't check for failed allocation

2005-11-29 Thread Adam Jackson
On Tuesday 29 November 2005 14:38, Tilman Sauerbeck wrote: > Hi, > drmStrdup() doesn't check for an allocation failure. I attached a patch > that also tries to improve readability of the code. Feel free to > disagree on that :) > > I realize the chances of drmStrdup() failing are probably low, but

Re: drm_handle_t vs. unsigned long

2005-11-29 Thread Adam Jackson
On Tuesday 29 November 2005 10:52, Brian Paul wrote: > Looks like the whole Mesa/src/mesa/drivers/dri/dri_client/ directory > should go away. Is that right? Yes. - ajax pgpGtCkbkGN4s.pgp Description: PGP signature

[PATCH] drmStrdup doesn't check for failed allocation

2005-11-29 Thread Tilman Sauerbeck
Hi, drmStrdup() doesn't check for an allocation failure. I attached a patch that also tries to improve readability of the code. Feel free to disagree on that :) I realize the chances of drmStrdup() failing are probably low, but it should be corrected anyway. Regards, Tilman Index: libdrm/xf86drm.

Re: drm_handle_t vs. unsigned long

2005-11-29 Thread Brian Paul
Dave Airlie wrote: I'm a bit rusty on the DRM but it looks like the changes are minor so I may do the updates unless someone beats me to it, or indicates there's a reason for things as they are. I'm still catching up on email from the holiday weekend, but I plan to import a new libdrm into the

[Bug 930] glxgears segfault only when resolution > 1024x768

2005-11-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=930 --- Additional Comments From [EMAIL PROTECTED] 2005-11-30 01:09 --- This b

[Bug 5115] Drivers for ATI cards segfault with no on-card memory reserved for textures

2005-11-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=5115 [EMAIL PROTECTED] changed: What|Removed |Added --

Re: drm_handle_t vs. unsigned long

2005-11-29 Thread Dave Airlie
> > > > I'm a bit rusty on the DRM but it looks like the changes are minor so > > I may do the updates unless someone beats me to it, or indicates > > there's a reason for things as they are. > > I'm still catching up on email from the holiday weekend, but I plan to import > a new libdrm into the

Re: RADEON Scratch Register Usage

2005-11-29 Thread Michel Dänzer
On Mon, 2005-11-28 at 02:18 -0800, vehemens wrote: > I've been looking at my remaining lockups, and find that I keep coming back > to > the use of scratch registers in the driver for one of them. That's probably because the scratch registers are used for synchronizing with the card, which is whe