radeon: Wait for BO idle if necessary before mapping it.
authorMichel Dänzer <daenzer@vmware.com>
Fri, 3 Jul 2009 10:44:19 +0000 (12:44 +0200)
committerMichel Dänzer <michel@daenzer.net>
Fri, 3 Jul 2009 10:44:19 +0000 (12:44 +0200)
commit060c7f2321f72503c14f9f3f7bb27d59d8a90224
treed4bd91d92c622e816fac649760054c100b548493
parent6b2461fec905b7dc25ad051d602b440503f544ea
radeon: Wait for BO idle if necessary before mapping it.

Fixes fighting between GPU and software rendering with TTM.
src/mesa/drivers/dri/radeon/radeon_span.c