summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_screen.c
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-03-01 21:28:29 +0100
committerChristoph Bumiller <[email protected]>2012-04-14 06:14:21 +0200
commit2206a7f5132905bb1b53d8343d11847010f6b63a (patch)
tree733e18f85c79e124de434144b6cb1e4d763dfb0b /src/gallium/drivers/nvc0/nvc0_screen.c
parent680f20351ec65fb22774dc08f63d26cf66b47c59 (diff)
nv50,nvc0: use new scratch buffers code
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_screen.c')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_screen.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_screen.c b/src/gallium/drivers/nvc0/nvc0_screen.c
index 94a16b5068c..52cc00134c0 100644
--- a/src/gallium/drivers/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nvc0/nvc0_screen.c
@@ -431,13 +431,6 @@ nvc0_screen_create(struct nouveau_device *dev)
screen->base.fence.emit = nvc0_screen_fence_emit;
screen->base.fence.update = nvc0_screen_fence_update;
- for (i = 0; i < NVC0_SCRATCH_NR_BUFFERS; ++i) {
- ret = nouveau_bo_new(dev, NOUVEAU_BO_GART, 0, NVC0_SCRATCH_SIZE, NULL,
- &screen->scratch.bo[i]);
- if (ret)
- goto fail;
- }
-
ret = nouveau_object_new(chan, 0xbeef9039, NVC0_M2MF_CLASS, NULL, 0,
&screen->m2mf);
if (ret)