Bug 30272 - r600g: buffer object leak (regression)
Summary: r600g: buffer object leak (regression)
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-20 00:48 UTC by Rafael Monica
Modified: 2010-09-29 12:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.