Skip to content
Snippets Groups Projects
Commit 29aaab2b authored by Grigori Goronzy's avatar Grigori Goronzy
Browse files

winsys/radeon: align BO size to page size


This is the basic granularity for BO allocations. The alignment also
helps with BO reuse by the cached bufmgr.

This results in a huge 45% speedup in Metro 2033 Redux on my test
system. The game relies on buffer orphaning with very small buffers
(hundreds of bytes in size) and that did not work efficiently
before. This change may also affect other applications and games.

Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
parent 32a220f1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment