summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_screen.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2010-12-22 23:36:31 +0100
committerChristoph Bumiller <[email protected]>2010-12-23 15:19:22 +0100
commit2c20aae23393a3f6899f1775df47697ce65fc6ca (patch)
treea177e5e704de95a7391eaaf2889e69320b130082 /src/gallium/drivers/nvc0/nvc0_screen.h
parent82e0a38eede3e628b6012900cbb8efce193370fd (diff)
nvc0: use most defs/decls from nouveau_pushbuf.h
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_screen.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_screen.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_screen.h b/src/gallium/drivers/nvc0/nvc0_screen.h
index 8aa77da2bf1..5b1b623356d 100644
--- a/src/gallium/drivers/nvc0/nvc0_screen.h
+++ b/src/gallium/drivers/nvc0/nvc0_screen.h
@@ -112,8 +112,7 @@ nvc0_resource_validate(struct nvc0_resource *res, uint32_t flags)
if (flags & NOUVEAU_BO_WR)
nvc0_fence_reference(&res->fence_wr, screen->fence.current);
- nouveau_reloc_emit(screen->base.channel,
- NULL, 0, NULL, res->bo, 0, 0, NOUVEAU_BO_RDWR, 0, 0);
+ nouveau_bo_validate(screen->base.channel, res->bo, flags);
}