mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
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.
This commit is contained in:
parent
3f09e528d5
commit
14a0bb81fe
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue