r600g/radeonsi: Map transfer staging texture unsynchronized when possible
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 15 Apr 2014 05:45:13 +0000 (14:45 +0900)
committerMichel Dänzer <michel@daenzer.net>
Wed, 16 Apr 2014 03:11:27 +0000 (12:11 +0900)
commit6ac5a5e383830d711793e425ddd285e17ffcd235
tree77a0861a6e406546b3b8f9b7e5017f82bf109596
parent9fed62723444fa76bd411ef4c2e4eeb98968a791
r600g/radeonsi: Map transfer staging texture unsynchronized when possible

The transfer staging texture is always freshly allocated, so for write-only
transfers we don't need to explicitly wait for the BO to become idle.

Squeezes a few hundered MB/s more out of x11perf -shmput500 with glamor.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_texture.c