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 09116a88..5dac72e5 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -1376,7 +1376,7 @@ int gk20a_channel_alloc_priv_cmdbuf(struct channel_gk20a *c, u32 orig_size, | |||
1376 | free_count = (q->size - (q->put - q->get) - 1) % q->size; | 1376 | free_count = (q->size - (q->put - q->get) - 1) % q->size; |
1377 | 1377 | ||
1378 | if (size > free_count) | 1378 | if (size > free_count) |
1379 | return -ENOSPC; | 1379 | return -EAGAIN; |
1380 | 1380 | ||
1381 | e = kzalloc(sizeof(struct priv_cmd_entry), GFP_KERNEL); | 1381 | e = kzalloc(sizeof(struct priv_cmd_entry), GFP_KERNEL); |
1382 | if (!e) { | 1382 | if (!e) { |