radeonsi: flush if the memory usage for an IB is too high
authorMarek Olšák <marek.olsak@amd.com>
Thu, 16 Jul 2015 17:55:42 +0000 (19:55 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 2 Aug 2015 20:03:33 +0000 (22:03 +0200)
commit08fd736a45c98bd0acd96dfc1a61e6a695d2703c
tree1de58c3a2b11cb03b85eb1b4eed3b8c656b14b81
parent4d7e0fa8c731776ad5d630f37b36c535f1907371
radeonsi: flush if the memory usage for an IB is too high

Picked from the amdgpu branch.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeonsi/si_hw_context.c
src/gallium/drivers/radeonsi/si_state.c