radeon: Fix legacy bo not to reuse dma buffers before refcount is 1.
authorPauli Nieminen <suokkos@gmail.com>
Sun, 20 Sep 2009 19:24:35 +0000 (22:24 +0300)
committerPauli Nieminen <suokkos@gmail.com>
Sun, 20 Sep 2009 19:28:52 +0000 (22:28 +0300)
commit284a7af274bc148f112bd0ebb40583923ee26b49
tree7e59c977616c58ea557336dbda55d46e57cc1d8a
parent7e3b8b0d8fdfd7cffbb57afce67a3fe54827d90a
radeon: Fix legacy bo not to reuse dma buffers before refcount is 1.

This should help detecting possible memory leaks with dma buffers and prevent
possible visual corruption if data would be overwriten too early.
src/mesa/drivers/dri/radeon/radeon_dma.c