[Mesa-dev] [PATCH] r600g: Various patches

Mathias Fröhlich Mathias.Froehlich at gmx.net
Sun Jun 12 06:06:19 PDT 2011


Hi,

attached is a set of patches to r600g.

0001-r600g-Fix-typo.patch:
Fix a more or less obvious typo in shader initialization setup.

0002-r600g-Set-the-domains-value-also-for-recycled-buffer.patch:
Makes sure that buffer objects from the userspace bo manager does not have a 
degraded domains value set. Without this it could happen that buffer objects 
for display lists for example ended up in gtt even if they could savely be 
placed somewhere deep in the gpu board.

0003-r600g-Allow-VRAM-for-the-initial-domain-for-every-bu.patch:
This improoves rendering (not draw) times on plenty openscenegraph examples by 
about 20% in average.
This turned out to be the most effective part of the past change that I 
requested review for and that I never sent an updated patch up to now.

0004-r600g-Put-shaders-into-immutable-buffers.patch:
Shaders programs are immutable for the driver. So put them into immutable 
buffer objects.

0005-r600g-Make-use-of-PIPE_TRANSFER_DISCARD_WHOLE_RESOUR.patch:
This makes use of the DISCARD_WHOLE_RESOURCE flag for memory mappings.

Please review/apply!

Thanks

Mathias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-r600g-Fix-typo.patch
Type: text/x-patch
Size: 981 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110612/f614dc0c/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-r600g-Set-the-domains-value-also-for-recycled-buffer.patch
Type: text/x-patch
Size: 2235 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110612/f614dc0c/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-r600g-Allow-VRAM-for-the-initial-domain-for-every-bu.patch
Type: text/x-patch
Size: 1509 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110612/f614dc0c/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-r600g-Put-shaders-into-immutable-buffers.patch
Type: text/x-patch
Size: 1909 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110612/f614dc0c/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-r600g-Make-use-of-PIPE_TRANSFER_DISCARD_WHOLE_RESOUR.patch
Type: text/x-patch
Size: 5211 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110612/f614dc0c/attachment-0009.bin>


More information about the mesa-dev mailing list