diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index dc44d4b1..7fa8a552 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -866,7 +866,7 @@ static int channel_gk20a_alloc_priv_cmdbuf(struct channel_gk20a *c) | |||
866 | max size of priv_cmdbuf is : | 866 | max size of priv_cmdbuf is : |
867 | (gpfifo entry number * (2 / 3) * (4 + 6) * 4 bytes */ | 867 | (gpfifo entry number * (2 / 3) * (4 + 6) * 4 bytes */ |
868 | size = roundup_pow_of_two( | 868 | size = roundup_pow_of_two( |
869 | c->gpfifo.entry_num * 2 * 10 * sizeof(u32) / 3); | 869 | c->gpfifo.entry_num * 2 * 12 * sizeof(u32) / 3); |
870 | 870 | ||
871 | err = gk20a_gmmu_alloc_map(ch_vm, size, &q->mem); | 871 | err = gk20a_gmmu_alloc_map(ch_vm, size, &q->mem); |
872 | if (err) { | 872 | if (err) { |