mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 18:10:23 +01:00
nouveau: Use half the notifier block for query objects.
This commit is contained in:
parent
ecfa3e4d0a
commit
c2ac825e67
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue