diff options
author | Maarten Lankhorst <[email protected]> | 2013-06-26 16:45:09 +0200 |
---|---|---|
committer | Maarten Lankhorst <[email protected]> | 2013-06-26 16:51:41 +0200 |
commit | 2c54e79579419315c341c715c0c21cb4dc1bdabf (patch) | |
tree | 1ed112f6e0b528552d7b481f9bcb7c164e6ccfe2 /src/gallium | |
parent | 3a96680fb5f83391213750ef48de7c763b3cc833 (diff) |
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 <[email protected]>
Signed-off-by: Maarten Lankhorst <[email protected]>
(cherry picked from commit e72cc26518d8a60093ac497bf680c1f4ba614fa9)
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_screen.c b/src/gallium/drivers/nvc0/nvc0_screen.c index 46bb797e53f..fd2adb7df2b 100644 --- a/src/gallium/drivers/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nvc0/nvc0_screen.c @@ -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; |