From 09b1062628f2cbddb3ebae20e7b3b8a0a93acebf Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Tue, 28 Sep 2010 22:45:27 +0200 Subject: nouveau: Let the user choose the push buffer size. Signed-off-by: Francisco Jerez Acked-by: Ben Skeggs --- nouveau/nouveau_private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nouveau/nouveau_private.h') diff --git a/nouveau/nouveau_private.h b/nouveau/nouveau_private.h index 5a952f73..4c535345 100644 --- a/nouveau/nouveau_private.h +++ b/nouveau/nouveau_private.h @@ -37,8 +37,8 @@ #include "nouveau_pushbuf.h" #include "nouveau_reloc.h" -#define CALPB_BUFFERS 4 -#define CALPB_BUFSZ 16384 +#define CALPB_BUFFERS 3 + struct nouveau_pushbuf_priv { uint32_t cal_suffix0; uint32_t cal_suffix1; @@ -64,7 +64,7 @@ struct nouveau_pushbuf_priv { #define nouveau_pushbuf(n) ((struct nouveau_pushbuf_priv *)(n)) int -nouveau_pushbuf_init(struct nouveau_channel *); +nouveau_pushbuf_init(struct nouveau_channel *, int buf_size); void nouveau_pushbuf_fini(struct nouveau_channel *); -- cgit v1.2.3