diff options
author | Richard Zhao <rizhao@nvidia.com> | 2016-01-21 17:01:51 -0500 |
---|---|---|
committer | Vladislav Buzov <vbuzov@nvidia.com> | 2016-01-22 14:01:08 -0500 |
commit | 42b0f49d42eeadffc221bd4d9990010dfebd4a10 (patch) | |
tree | 455cbc6d5cdc5d7717ee9eaced917a471115db64 /drivers/gpu | |
parent | 0bade2cb45cce254321454ee068706ea46c301e2 (diff) |
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index 6b5807aa..42e48901 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -1942,7 +1942,7 @@ int gk20a_fifo_preempt(struct gk20a *g, struct channel_gk20a *ch) | |||
1942 | if (gk20a_is_channel_marked_as_tsg(ch)) | 1942 | if (gk20a_is_channel_marked_as_tsg(ch)) |
1943 | err = gk20a_fifo_preempt_tsg(ch->g, ch->tsgid); | 1943 | err = gk20a_fifo_preempt_tsg(ch->g, ch->tsgid); |
1944 | else | 1944 | else |
1945 | err = gk20a_fifo_preempt_channel(ch->g, ch->hw_chid); | 1945 | err = g->ops.fifo.preempt_channel(ch->g, ch->hw_chid); |
1946 | 1946 | ||
1947 | return err; | 1947 | return err; |
1948 | } | 1948 | } |