diff options
author | Lakshmanan M <lm@nvidia.com> | 2016-06-09 09:16:22 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:17 -0500 |
commit | faa11f0bab6984ea6ecba881b55c33263ccac1dd (patch) | |
tree | a05b17c50de5a7cb2efe9a20453be0c15635dbe1 /drivers/gpu/nvgpu | |
parent | 4306af531d1e0b68b1b24d9c4a625018461d6d34 (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: Ib87d96a518a490d4167071708a76100a4d4c02dd
Signed-off-by: Lakshmanan M <lm@nvidia.com>
Reviewed-on: http://git-master/r/1161776
GVS: Gerrit_Virtual_Submit
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/gr_gp10b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c index 607fca59..534ffdb7 100644 --- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c | |||
@@ -1586,7 +1586,7 @@ static int gr_gp10b_disable_channel_or_tsg(struct gk20a *g, struct channel_gk20a | |||
1586 | return ret; | 1586 | return ret; |
1587 | } | 1587 | } |
1588 | 1588 | ||
1589 | ret = g->ops.fifo.update_runlist(g, 0, ~0, true, false); | 1589 | ret = g->ops.fifo.update_runlist(g, fault_ch->runlist_id, ~0, true, false); |
1590 | if (ret) { | 1590 | if (ret) { |
1591 | gk20a_err(dev_from_gk20a(g), | 1591 | gk20a_err(dev_from_gk20a(g), |
1592 | "CILP: failed to restart runlist 0!"); | 1592 | "CILP: failed to restart runlist 0!"); |