diff --git a/drivers/gpu/nvgpu/common/vgpu/fifo/channel_vgpu.c b/drivers/gpu/nvgpu/common/vgpu/fifo/channel_vgpu.c index cdb5d2bbb..dfeb9d869 100644 --- a/drivers/gpu/nvgpu/common/vgpu/fifo/channel_vgpu.c +++ b/drivers/gpu/nvgpu/common/vgpu/fifo/channel_vgpu.c @@ -81,6 +81,7 @@ int vgpu_channel_alloc_inst(struct gk20a *g, struct nvgpu_channel *ch) msg.cmd = TEGRA_VGPU_CMD_CHANNEL_ALLOC_HWCTX; msg.handle = vgpu_get_handle(g); p->id = ch->chid; + p->runlist_id = ch->runlist_id; p->pid = (u64)ch->pid; err = vgpu_comm_sendrecv(&msg, sizeof(msg), sizeof(msg)); if (err || msg.ret) { diff --git a/drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h b/drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h index b6b896ce3..20d0e1bf1 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h +++ b/drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h @@ -128,6 +128,7 @@ struct tegra_vgpu_connect_params { struct tegra_vgpu_channel_hwctx_params { u32 id; + u32 runlist_id; u64 pid; u64 handle; };