aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50
diff options
context:
space:
mode:
authorBryan Cain <[email protected]>2013-05-07 16:57:17 -0500
committerBryan Cain <[email protected]>2013-05-07 17:01:59 -0500
commit14a0bb81fef164949aeb2ec2bcfe14fee4627eeb (patch)
tree751b78f74b5dba230115f8a6cb1cd11f2cab1939 /src/gallium/drivers/nv50
parent3f09e528d59127a2552ea4802937c39e87c3288e (diff)
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.
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r--src/gallium/drivers/nv50/nv50_context.c1
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 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);