mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: let gk20a_fifo_preempt call gops callbacks
It fixed vgpu regression that vgpu tried to call native channel preemption function. Bug 1617046 Change-Id: Ia5a5486d8b95a34ca6ecc75f8d3b5fea76919405 Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: http://git-master/r/935897 Tested-by: Damian Halas <dhalas@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vladislav Buzov <vbuzov@nvidia.com>
This commit is contained in:
committed by
Vladislav Buzov
parent
0bade2cb45
commit
42b0f49d42
@@ -1942,7 +1942,7 @@ int gk20a_fifo_preempt(struct gk20a *g, struct channel_gk20a *ch)
|
||||
if (gk20a_is_channel_marked_as_tsg(ch))
|
||||
err = gk20a_fifo_preempt_tsg(ch->g, ch->tsgid);
|
||||
else
|
||||
err = gk20a_fifo_preempt_channel(ch->g, ch->hw_chid);
|
||||
err = g->ops.fifo.preempt_channel(ch->g, ch->hw_chid);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user