summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/fifo_vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/fifo_vgpu.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
index fa9388f2..66b2dbef 100644
--- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
@@ -607,25 +607,6 @@ int vgpu_fifo_wait_engine_idle(struct gk20a *g)
607 return 0; 607 return 0;
608} 608}
609 609
610int vgpu_channel_set_priority(struct channel_gk20a *ch, u32 priority)
611{
612 struct tegra_vgpu_cmd_msg msg;
613 struct tegra_vgpu_channel_priority_params *p =
614 &msg.params.channel_priority;
615 int err;
616
617 gk20a_dbg_info("channel %d set priority %u", ch->chid, priority);
618
619 msg.cmd = TEGRA_VGPU_CMD_CHANNEL_SET_PRIORITY;
620 msg.handle = vgpu_get_handle(ch->g);
621 p->handle = ch->virt_ctx;
622 p->priority = priority;
623 err = vgpu_comm_sendrecv(&msg, sizeof(msg), sizeof(msg));
624 WARN_ON(err || msg.ret);
625
626 return err ? err : msg.ret;
627}
628
629static int vgpu_fifo_tsg_set_runlist_interleave(struct gk20a *g, 610static int vgpu_fifo_tsg_set_runlist_interleave(struct gk20a *g,
630 u32 tsgid, 611 u32 tsgid,
631 u32 runlist_id, 612 u32 runlist_id,