diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-08 15:15:13 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-08 15:15:13 +0200 |
commit | 42fcce9a982fa96b51ff7c9f2ff96497d31dd1d2 (patch) | |
tree | 234c3c047b168205e60d474d04848d769ab3ac97 | |
parent | 32936d759c49ba5abfb3f1937fc7a02e4ab36804 (diff) | |
download | gst-plugins-fsl-vpu-42fcce9a982fa96b51ff7c9f2ff96497d31dd1d2.tar.gz gst-plugins-fsl-vpu-42fcce9a982fa96b51ff7c9f2ff96497d31dd1d2.tar.xz |
vpu module: allocate enough space in fifo for encoder
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | module/imx-vpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/imx-vpu.c b/module/imx-vpu.c index 7cb5f28..4b69e7c 100644 --- a/module/imx-vpu.c +++ b/module/imx-vpu.c @@ -785,7 +785,7 @@ static int noinline vpu_enc_get_initial_info(struct vpu_instance *instance) return -ENOMEM; } - ret = kfifo_alloc(&instance->fifo, 128 * 1024, GFP_KERNEL); + ret = kfifo_alloc(&instance->fifo, regs->bitstream_buf_size, GFP_KERNEL); if (ret) goto out; |