Mesa (9.1): nv50: initialize kick_notify callback in nv50_create
Ian Romanick
idr at kemper.freedesktop.org
Wed May 29 20:37:33 UTC 2013
Module: Mesa
Branch: 9.1
Commit: 251fa39bd2271904d987720d6fb9333b15592e66
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=251fa39bd2271904d987720d6fb9333b15592e66
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.
(cherry picked from commit 14a0bb81fef164949aeb2ec2bcfe14fee4627eeb)
---
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 b8b29a3..049c819 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