commit | 732ea0b213ce534c2ac05ced8ead2df8fa769efb | [log] [tgz] |
---|---|---|
author | Marek Olšák <marek.olsak@amd.com> | Wed Sep 25 21:38:40 2019 -0400 |
committer | Marek Olšák <marek.olsak@amd.com> | Mon Oct 07 20:05:00 2019 -0400 |
tree | f6d7168f59565a5e8d6e5f2e5409ff68d150a5fc | |
parent | 59dd4dafb5fea8a76e43d1280650b087809945a1 [diff] |
gallium: add PIPE_RESOURCE_FLAG_SINGLE_THREAD_USE to skip util_range lock u_upload_mgr sets it, so that util_range_add can skip the lock. The time spent in tc_transfer_flush_region decreases from 0.8% to 0.2% in torcs on radeonsi. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>