diff options
author | Christoph Bumiller <[email protected]> | 2011-01-09 21:50:06 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-01-09 21:50:06 +0100 |
commit | b3d8e1fb3bd9b6e5d7a9fc1e710a12547893c487 (patch) | |
tree | df7be39198b88e7f4e2187fd20ea52b202ed6f3b /src/gallium/drivers/nvc0/nvc0_fence.c | |
parent | e59fa4c46c8857f2e04447777dd197464c95b2cb (diff) |
nvc0: implement queries
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_fence.c')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_fence.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_fence.c b/src/gallium/drivers/nvc0/nvc0_fence.c index 7c214ca9a75..9d2c48cf14d 100644 --- a/src/gallium/drivers/nvc0/nvc0_fence.c +++ b/src/gallium/drivers/nvc0/nvc0_fence.c @@ -59,7 +59,8 @@ nvc0_fence_emit(struct nvc0_fence *fence) OUT_RELOCh(chan, screen->fence.bo, 0, NOUVEAU_BO_WR); OUT_RELOCl(chan, screen->fence.bo, 0, NOUVEAU_BO_WR); OUT_RING (chan, fence->sequence); - OUT_RING (chan, NVC0_3D_QUERY_GET_FENCE); + OUT_RING (chan, NVC0_3D_QUERY_GET_FENCE | NVC0_3D_QUERY_GET_SHORT | + (0xf << NVC0_3D_QUERY_GET_UNIT__SHIFT)); ++fence->ref; |