projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecfa3e4
)
nouveau: Use half the notifier block for query objects.
author
Ben Skeggs
<skeggsb@gmail.com>
Wed, 15 Aug 2007 04:27:46 +0000
(14:27 +1000)
committer
Ben Skeggs
<skeggsb@gmail.com>
Wed, 15 Aug 2007 04:31:26 +0000
(14:31 +1000)
src/mesa/drivers/dri/nouveau/nouveau_query.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/nouveau/nouveau_query.c
b/src/mesa/drivers/dri/nouveau/nouveau_query.c
index 015414006907fb63e6c84ba662ba096457e1814b..e5c1750a8ecf6a410503b0914bd022f45e0ad12d 100644
(file)
--- a/
src/mesa/drivers/dri/nouveau/nouveau_query.c
+++ b/
src/mesa/drivers/dri/nouveau/nouveau_query.c
@@
-167,7
+167,8
@@
nouveauQueryInitFuncs(GLcontext *ctx)
if (nmesa->screen->card->type < NV_20)
return;
- nmesa->query_object_max = (0x4000 / 32);
+ /* Reserve half the notifier block for use as query objects */
+ nmesa->query_object_max = (nmesa->fifo.drm.notifier_size / 2) / 32;
nmesa->queryNotifier =
nouveau_notifier_new(ctx, NvQueryNotify,
nmesa->query_object_max);