nouveau: allow pipe driver to define which buffers should start in sysmem
authorBen Skeggs <bskeggs@redhat.com>
Thu, 3 Mar 2011 05:56:20 +0000 (15:56 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 3 Mar 2011 05:56:20 +0000 (15:56 +1000)
commit6b4e3e8941f41b6d15ac557e3d47bf4f1aa8b185
treeec6c1f970fe350e34d4bd2ed176aa668fce769e8
parent0c0e996d59380af2d247336e3e9cfae58a80791a
nouveau: allow pipe driver to define which buffers should start in sysmem

PIPE_BIND_CONSTANT_BUFFER alone was OK for nv50/nvc0, but nv30 will need
to be able to set others on certain chipsets.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
src/gallium/drivers/nouveau/nouveau_buffer.c
src/gallium/drivers/nouveau/nouveau_screen.h
src/gallium/drivers/nv50/nv50_screen.c
src/gallium/drivers/nvc0/nvc0_screen.c