nvc0: set rsvd_kick correctly
This prevents trampling beyond the end of the command stream during flushes. NOTE: This is a candidate for the stable branches. Reported-by: Christoph Bumiller <christoph.bumiller@speed.at> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
This commit is contained in:
parent
30c2c34464
commit
e72cc26518
1 changed files with 1 additions and 0 deletions
|
|
@ -568,6 +568,7 @@ nvc0_screen_create(struct nouveau_device *dev)
|
|||
chan = screen->base.channel;
|
||||
push = screen->base.pushbuf;
|
||||
push->user_priv = screen;
|
||||
push->rsvd_kick = 5;
|
||||
|
||||
screen->base.vidmem_bindings |= PIPE_BIND_CONSTANT_BUFFER |
|
||||
PIPE_BIND_VERTEX_BUFFER | PIPE_BIND_INDEX_BUFFER;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue