The Linux DRM does not seem to clean up the context handles when the client does the destroy the context (i.e. the client process has die a horrible premature death). The VIA DRM (for CLE266) manages video and agp memory in the kernel, it runs out of memory eventually when its clients do not clean up properly. Other DRM's will consume an entry in the bitmap table (if it is enabled) and will eventually fail when they run out of free entries.

Is this a known problem? Has it been fixed? I have to add a linked list to VIA's DRM to keep track of context handles and perform clean up when release is called on the DRI file descriptor. I will gladly create a patch if this is a real problem.

Thanks,
Erdi Chen



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to