Mesa (master): nv50: initialize kick_notify callback in nv50_create
Bryan Cain
bryanc at kemper.freedesktop.org
Tue May 7 22:03:18 UTC 2013
Module: Mesa
Branch: master
Commit: 14a0bb81fef164949aeb2ec2bcfe14fee4627eeb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=14a0bb81fef164949aeb2ec2bcfe14fee4627eeb
Author: Bryan Cain <bryancain3 at gmail.com>
Date: Tue May 7 16:57:17 2013 -0500
nv50: initialize kick_notify callback in nv50_create
Fixes infinite loop on startup in Portal and Left 4 Dead 2.
NOTE: This is a candidate for the 9.0 and 9.1 branches.
---
src/gallium/drivers/nv50/nv50_context.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/nv50/nv50_context.c b/src/gallium/drivers/nv50/nv50_context.c
index 16697a0..5781c4b 100644
--- a/src/gallium/drivers/nv50/nv50_context.c
+++ b/src/gallium/drivers/nv50/nv50_context.c
@@ -242,6 +242,7 @@ nv50_create(struct pipe_screen *pscreen, void *priv)
screen->cur_ctx = nv50;
nouveau_pushbuf_bufctx(screen->base.pushbuf, nv50->bufctx);
}
+ nv50->base.pushbuf->kick_notify = nv50_default_kick_notify;
nv50_init_query_functions(nv50);
nv50_init_surface_functions(nv50);
More information about the mesa-commit
mailing list