Skip to content
Snippets Groups Projects
Commit 2c54e795 authored by Maarten Lankhorst's avatar Maarten Lankhorst
Browse files

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: default avatarChristoph Bumiller <christoph.bumiller@speed.at>
Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@canonical.com>
(cherry picked from commit e72cc265)
parent 3a96680f
No related branches found
No related tags found
No related merge requests found
......@@ -445,6 +445,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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment