summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_surface.c
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2013-04-03 00:18:55 +0200
committerChristoph Bumiller <[email protected]>2013-04-03 12:54:44 +0200
commit8e1dd58a7e76834c1fb6d117b6ea5755e05cfb77 (patch)
tree5332b79c7af6d65cedc8139fd7f55414db35a9ab /src/gallium/drivers/nvc0/nvc0_surface.c
parentba9b0b682f51222752ac56e7a0615f9bbb686089 (diff)
nvc0: place staging textures in GART and map them directly
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_surface.c')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_surface.c3
1 files changed, 2 insertions, 1 deletions
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);