From a3fee8fc86168f0709a164d9d983b40a9b671b3c Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Fri, 10 Feb 2012 13:18:13 +0100 Subject: nouveau: remove automatic buffer migration heuristics --- src/gallium/drivers/nvc0/nvc0_vbo.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/gallium/drivers/nvc0') diff --git a/src/gallium/drivers/nvc0/nvc0_vbo.c b/src/gallium/drivers/nvc0/nvc0_vbo.c index 3e95d509f99..de456b91945 100644 --- a/src/gallium/drivers/nvc0/nvc0_vbo.c +++ b/src/gallium/drivers/nvc0/nvc0_vbo.c @@ -197,7 +197,6 @@ nvc0_prevalidate_vbufs(struct nvc0_context *nvc0) } } nvc0_bufctx_add_resident(nvc0, NVC0_BUFCTX_VERTEX, buf, NOUVEAU_BO_RD); - nouveau_buffer_adjust_score(&nvc0->base, buf, 1); } } @@ -516,8 +515,6 @@ nvc0_draw_elements(struct nvc0_context *nvc0, boolean shorten, unsigned offset = nvc0->idxbuf.offset; unsigned limit = nvc0->idxbuf.buffer->width0 - 1; - nouveau_buffer_adjust_score(&nvc0->base, res, 1); - while (instance_count--) { MARK_RING (chan, 11, 4); BEGIN_RING(chan, RING_3D(VERTEX_BEGIN_GL), 1); -- cgit v1.2.3