summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
diff options
context:
space:
mode:
authorRichard Zhao <rizhao@nvidia.com>2016-01-14 20:40:48 -0500
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-01-25 18:22:22 -0500
commit8fb33d92b03b9ee2db421c69252822d09477cce5 (patch)
treeca3708bc20bb13a743a50a0a5660f42e487dea9f /drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
parent42b0f49d42eeadffc221bd4d9990010dfebd4a10 (diff)
gpu: nvgpu: vgpu: add channel_set_priority support
- add gops.fifo.channel_set_priority and move current code as native callback. - implement the callback for vgpu Bug 1701079 Change-Id: If1cd13ea4478d11d578da2f682598e0c4522bcaf Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: http://git-master/r/932829 Reviewed-by: Aingara Paramakuru <aparamakuru@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/fifo_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/fifo_gm20b.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
index 0e736373..d1deffb9 100644
--- a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
@@ -113,6 +113,7 @@ void gm20b_init_fifo(struct gpu_ops *gops)
113 gops->fifo.alloc_inst = channel_gk20a_alloc_inst; 113 gops->fifo.alloc_inst = channel_gk20a_alloc_inst;
114 gops->fifo.free_inst = channel_gk20a_free_inst; 114 gops->fifo.free_inst = channel_gk20a_free_inst;
115 gops->fifo.setup_ramfc = channel_gk20a_setup_ramfc; 115 gops->fifo.setup_ramfc = channel_gk20a_setup_ramfc;
116 gops->fifo.channel_set_priority = gk20a_channel_set_priority;
116 117
117 gops->fifo.preempt_channel = gk20a_fifo_preempt_channel; 118 gops->fifo.preempt_channel = gk20a_fifo_preempt_channel;
118 gops->fifo.update_runlist = gk20a_fifo_update_runlist; 119 gops->fifo.update_runlist = gk20a_fifo_update_runlist;