nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
authorMaarten Maathuis <madman2003@gmail.com>
Sun, 20 Dec 2009 11:19:19 +0000 (12:19 +0100)
committerMaarten Maathuis <madman2003@gmail.com>
Tue, 5 Jan 2010 18:13:34 +0000 (19:13 +0100)
commitc306ef5e81da5456d39a6e98cfc1f5f00b9c77a7
tree58f0c404f138e55e98e5140ea6ec2c292dc61e5b
parent3e18bad36d90255dca6cb519eb7ecfc540c292c1
nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped

- This avoids problematic "reloc'ed while mapped" messages and
some associated corruption as well.

Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
src/gallium/drivers/nouveau/nouveau_screen.c
src/gallium/drivers/nouveau/nouveau_screen.h
src/gallium/drivers/nouveau/nouveau_stateobj.h
src/gallium/drivers/nv50/nv50_screen.c
src/gallium/drivers/nv50/nv50_screen.h
src/gallium/drivers/nv50/nv50_state_validate.c