nouveau: re-allocate bo's on overflow
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Wed, 10 Sep 2014 11:17:13 +0000 (13:17 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 12 Sep 2014 03:17:52 +0000 (23:17 -0400)
commitf6afed7076a6ef446dbec7cb10c8f8c60efafccd
tree7db2c8e4e7c2f8d5fe1adf1026f26637208931f1
parent1187dbdd104b08ae2d465e87bfb68bc1550d224c
nouveau: re-allocate bo's on overflow

The BSP bo might be too small to contain all of the bsp data,
bump its size on overflow. Also bump inter_bo when this happens,
it might be too small otherwise.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nouveau_vp3_video.h
src/gallium/drivers/nouveau/nv50/nv98_video_bsp.c
src/gallium/drivers/nouveau/nvc0/nvc0_video.c
src/gallium/drivers/nouveau/nvc0/nvc0_video_bsp.c