From 8e1dd58a7e76834c1fb6d117b6ea5755e05cfb77 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Wed, 3 Apr 2013 00:18:55 +0200 Subject: nvc0: place staging textures in GART and map them directly --- src/gallium/drivers/nvc0/nvc0_surface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/nvc0/nvc0_surface.c') diff --git a/src/gallium/drivers/nvc0/nvc0_surface.c b/src/gallium/drivers/nvc0/nvc0_surface.c index 481b4518a67..3abf717a6ee 100644 --- a/src/gallium/drivers/nvc0/nvc0_surface.c +++ b/src/gallium/drivers/nvc0/nvc0_surface.c @@ -1108,7 +1108,8 @@ nvc0_blit_eng2d(struct nvc0_context *nvc0, const struct pipe_blit_info *info) PUSH_DATA (push, srcy >> 32); } } - nvc0_bufctx_fence(nvc0, nvc0->bufctx, FALSE); + nvc0_resource_validate(&dst->base, NOUVEAU_BO_WR); + nvc0_resource_validate(&src->base, NOUVEAU_BO_RD); nouveau_bufctx_reset(nvc0->bufctx, NVC0_BIND_2D); -- cgit v1.2.3