radeonsi: upload constants into VRAM instead of GTT
authorMarek Olšák <marek.olsak@amd.com>
Wed, 15 Feb 2017 18:50:15 +0000 (19:50 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 18 Feb 2017 00:22:08 +0000 (01:22 +0100)
commitac6007460adaf4bb21028a3281ec622d1e43df49
tree01ee6b099afebfdbb3b784d2404517f067745d30
parenta550fbb510c998a0e484e9bf996e2d884ce3230e
radeonsi: upload constants into VRAM instead of GTT

This lowers lgkm wait cycles by 30% on VI and normal conditions.
The might be a measurable improvement when CE is disabled (radeon)
or under L2 thrashing.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_state.c