From 14a0bb81fef164949aeb2ec2bcfe14fee4627eeb Mon Sep 17 00:00:00 2001 From: Bryan Cain Date: Tue, 7 May 2013 16:57:17 -0500 Subject: [PATCH] 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 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/nv50/nv50_context.c b/src/gallium/drivers/nv50/nv50_context.c index 16697a0c5d6..5781c4bb766 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); -- 2.30.2