diff options
author | Lakshmanan M <lm@nvidia.com> | 2016-06-09 09:25:12 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-06-13 10:45:36 -0400 |
commit | 973c2811ca584270da659fb01fa1facb5dd527fa (patch) | |
tree | 3c0b0e5f49aa7663edfdfc56efffe1d01ae05249 /drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |
parent | 6f24a7666045b25072282d4c29ff190b7af33e59 (diff) |
gpu: nvgpu: Remove hard coded runlist_id mapping
From this patch onwards, runlist_id is a member of
struct channel_gk20a. So removed hard coded
runlist_id mapping logic.
JIRA DNVGPU-25
Change-Id: Ia02feffdc057b0dceab9721423feeed1cc7a1c12
Signed-off-by: Lakshmanan M <lm@nvidia.com>
Reviewed-on: http://git-master/r/1161779
GVS: Gerrit_Virtual_Submit
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index a4301fa9..59d5569c 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -1401,7 +1401,7 @@ static int gr_gv11b_disable_channel_or_tsg(struct gk20a *g, struct channel_gk20a | |||
1401 | return ret; | 1401 | return ret; |
1402 | } | 1402 | } |
1403 | 1403 | ||
1404 | ret = g->ops.fifo.update_runlist(g, 0, ~0, true, false); | 1404 | ret = g->ops.fifo.update_runlist(g, fault_ch->runlist_id, ~0, true, false); |
1405 | if (ret) { | 1405 | if (ret) { |
1406 | gk20a_err(dev_from_gk20a(g), | 1406 | gk20a_err(dev_from_gk20a(g), |
1407 | "CILP: failed to restart runlist 0!"); | 1407 | "CILP: failed to restart runlist 0!"); |