Bug 30272

Summary: r600g: buffer object leak (regression)
Product: Mesa Reporter: Rafael Monica <monraaf>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Rafael Monica 2010-09-20 00:48:06 UTC
The commit 0d76bb5d4c5c867155f7fb381c46018e1560b790  r600g: add upload manager support, has introduced a buffer object leak in r600g. With torcs it leaks about 200-300 buffer objects per second. The leak seems to originate in r600_user_buffer_create, as revering the changes the commit made to that function fixes the leak.
Comment 1 Dave Airlie 2010-09-20 01:34:20 UTC
does it still leak with current git master?
Comment 2 Rafael Monica 2010-09-20 02:04:03 UTC
yes it does.
Comment 3 Tilman Sauerbeck 2010-09-26 12:56:23 UTC
Please try the two patches I posted to the mesa3d-dev mailing list today.
Comment 4 Rafael Monica 2010-09-26 14:21:20 UTC
I just tried your two patches, and they fix the leak.
Comment 5 Rafael Monica 2010-09-29 12:05:56 UTC
The leak is no longer present in git master. closing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.