diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index 4e6837ef..50e29cf6 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -1012,6 +1012,8 @@ static int channel_gk20a_prealloc_resources(struct channel_gk20a *c, | |||
1012 | goto clean_up_priv_cmd; | 1012 | goto clean_up_priv_cmd; |
1013 | 1013 | ||
1014 | c->joblist.pre_alloc.length = num_jobs; | 1014 | c->joblist.pre_alloc.length = num_jobs; |
1015 | c->joblist.pre_alloc.put = 0; | ||
1016 | c->joblist.pre_alloc.get = 0; | ||
1015 | 1017 | ||
1016 | /* | 1018 | /* |
1017 | * commit the previous writes before setting the flag. | 1019 | * commit the previous writes before setting the flag. |