radeon/r200/r300: Fix swtcl flushing not to invalidate dma region.
authorPauli Nieminen <suokkos@gmail.com>
Wed, 26 Aug 2009 19:24:25 +0000 (22:24 +0300)
committerPauli Nieminen <suokkos@gmail.com>
Wed, 26 Aug 2009 21:01:56 +0000 (00:01 +0300)
commit97029c1860e8a99448ac157408e71bea3aa2559f
treebaa7b07538918a1777dba13d87ea1fe82e3dcadf
parent72052210516b4cb0e082e0c56822cd33b1562630
radeon/r200/r300: Fix swtcl flushing not to invalidate dma region.

We were check command buffer sizes too alte so allocated dma regions
were freed before relocations so space checking failed.
src/mesa/drivers/dri/r200/r200_swtcl.c
src/mesa/drivers/dri/r300/r300_swtcl.c
src/mesa/drivers/dri/radeon/radeon_common_context.h
src/mesa/drivers/dri/radeon/radeon_dma.c
src/mesa/drivers/dri/radeon/radeon_swtcl.c