From d3c45235b62e35d6717294c6ee9999ee60f20e1e Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Wed, 10 Sep 2014 13:17:13 +0200 Subject: 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 Cc: "10.2 10.3" (cherry picked from commit f6afed7076a6ef446dbec7cb10c8f8c60efafccd) --- src/gallium/drivers/nouveau/nouveau_vp3_video.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/nouveau/nouveau_vp3_video.h') 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 -- cgit v1.2.3