diff options
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/fifo_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c index 29692573..8d3a5e9f 100644 --- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | |||
@@ -74,7 +74,7 @@ static int vgpu_channel_alloc_inst(struct gk20a *g, struct channel_gk20a *ch) | |||
74 | msg.cmd = TEGRA_VGPU_CMD_CHANNEL_ALLOC_HWCTX; | 74 | msg.cmd = TEGRA_VGPU_CMD_CHANNEL_ALLOC_HWCTX; |
75 | msg.handle = platform->virt_handle; | 75 | msg.handle = platform->virt_handle; |
76 | p->id = ch->hw_chid; | 76 | p->id = ch->hw_chid; |
77 | p->pid = (u64)current->pid; | 77 | p->pid = (u64)current->tgid; |
78 | err = vgpu_comm_sendrecv(&msg, sizeof(msg), sizeof(msg)); | 78 | err = vgpu_comm_sendrecv(&msg, sizeof(msg), sizeof(msg)); |
79 | if (err || msg.ret) { | 79 | if (err || msg.ret) { |
80 | gk20a_err(dev_from_gk20a(g), "fail"); | 80 | gk20a_err(dev_from_gk20a(g), "fail"); |