radeon/r200/r300/r600: make bo mapping be explicit
authorDave Airlie <airlied@redhat.com>
Tue, 24 Nov 2009 00:49:34 +0000 (10:49 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 24 Nov 2009 01:38:36 +0000 (11:38 +1000)
commitbd13e6e5e2403ada2098e3a07c0af4b4ba989ab7
treecdb344911cf4e6261f43f68513e5fca50936986d
parent863ad9a68388979e1d305f8689146e18ef4f098c
radeon/r200/r300/r600: make bo mapping be explicit

This moves the bo mapping outside the DMA layer and makes it explicit,
this should in theory make it simpler to split the clean up the dma/cmdbuf
linkage that I created before that is broken.

Tested on: r600, rv380 (tcl/no-tcl), rv200 (tcl/no-tcl)

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/drivers/dri/r200/r200_maos_arrays.c
src/mesa/drivers/dri/r200/r200_swtcl.c
src/mesa/drivers/dri/r300/r300_draw.c
src/mesa/drivers/dri/r300/r300_swtcl.c
src/mesa/drivers/dri/r600/r700_render.c
src/mesa/drivers/dri/radeon/radeon_common_context.h
src/mesa/drivers/dri/radeon/radeon_dma.c
src/mesa/drivers/dri/radeon/radeon_maos_arrays.c
src/mesa/drivers/dri/radeon/radeon_maos_verts.c
src/mesa/drivers/dri/radeon/radeon_swtcl.c