mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
gpu: nvgpu: Increase GPFIFO priv cmd queue size
We're doing two sync point increments, so we need to allocate space for it. Change-Id: I663abb18a930eb3955379d5f8dd1b08c8fa56897 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/719884
This commit is contained in:
committed by
Dan Willemsen
parent
ece634bd48
commit
69ef2e6fa3
@@ -866,7 +866,7 @@ static int channel_gk20a_alloc_priv_cmdbuf(struct channel_gk20a *c)
|
||||
max size of priv_cmdbuf is :
|
||||
(gpfifo entry number * (2 / 3) * (4 + 6) * 4 bytes */
|
||||
size = roundup_pow_of_two(
|
||||
c->gpfifo.entry_num * 2 * 10 * sizeof(u32) / 3);
|
||||
c->gpfifo.entry_num * 2 * 12 * sizeof(u32) / 3);
|
||||
|
||||
err = gk20a_gmmu_alloc_map(ch_vm, size, &q->mem);
|
||||
if (err) {
|
||||
|
||||
Reference in New Issue
Block a user