diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2014-09-10 13:17:13 +0200 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2014-09-11 23:17:52 -0400 |
commit | f6afed7076a6ef446dbec7cb10c8f8c60efafccd (patch) | |
tree | 7db2c8e4e7c2f8d5fe1adf1026f26637208931f1 /src/gallium/drivers/nouveau/nouveau_vp3_video.h | |
parent | 1187dbdd104b08ae2d465e87bfb68bc1550d224c (diff) |
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>
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_vp3_video.h')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_vp3_video.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_vp3_video.h b/src/gallium/drivers/nouveau/nouveau_vp3_video.h index 5c1af7104fc..279a1ce18ef 100644 --- a/src/gallium/drivers/nouveau/nouveau_vp3_video.h +++ b/src/gallium/drivers/nouveau/nouveau_vp3_video.h @@ -39,6 +39,8 @@ struct nouveau_vp3_video_buffer { #define VP_OFFSET 0x200 #define COMM_OFFSET 0x500 +#define NOUVEAU_VP3_BSP_RESERVED_SIZE 0x700 + #define NOUVEAU_VP3_DEBUG_FENCE 0 #if NOUVEAU_VP3_DEBUG_FENCE |