diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-03-19 17:14:45 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 22:02:41 -0400 |
commit | 69ef2e6fa3417f271a47d26ee3768b143cd7448f (patch) | |
tree | e143177336abe007fa90ad598c0e5b3efe959e4b | |
parent | ece634bd4847a6e276ef55287a34041a21b40f43 (diff) |
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
-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) { |