diff options
author | Seema Khowala <seemaj@nvidia.com> | 2018-01-02 17:07:06 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-11 20:37:55 -0500 |
commit | ffa5231d2cf38d133e0ca323494be3e579cc820d (patch) | |
tree | e440d71f9c27813e391c75018d14418d14613195 /drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | |
parent | e7102cf90bb78795a25864d4bc5299189fbfcc53 (diff) |
gpu: nvgpu: runlist info mutex not needed for runlist_state
runlist_info mutex for the runlist being enabled or
disabled in fifo_sched_disable_r is not needed to be
acquired
Bug 2043838
Change-Id: Ia9839ab7effbe7daf353c3a54f25a2b4914af5e8
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1630345
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fifo_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c index 2fb1ee70..f0440a4c 100644 --- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | |||
@@ -948,8 +948,7 @@ void gv11b_fifo_teardown_ch_tsg(struct gk20a *g, u32 act_eng_bitmask, | |||
948 | runlists_mask = gv11b_fifo_get_runlists_mask(g, act_eng_bitmask, id, | 948 | runlists_mask = gv11b_fifo_get_runlists_mask(g, act_eng_bitmask, id, |
949 | id_type, rc_type, mmfault); | 949 | id_type, rc_type, mmfault); |
950 | 950 | ||
951 | gk20a_fifo_set_runlist_state(g, runlists_mask, RUNLIST_DISABLED, | 951 | gk20a_fifo_set_runlist_state(g, runlists_mask, RUNLIST_DISABLED); |
952 | !RUNLIST_INFO_MUTEX_LOCKED); | ||
953 | 952 | ||
954 | g->fifo.deferred_reset_pending = false; | 953 | g->fifo.deferred_reset_pending = false; |
955 | 954 | ||
@@ -1080,8 +1079,7 @@ void gv11b_fifo_teardown_ch_tsg(struct gk20a *g, u32 act_eng_bitmask, | |||
1080 | } | 1079 | } |
1081 | } | 1080 | } |
1082 | 1081 | ||
1083 | gk20a_fifo_set_runlist_state(g, runlists_mask, RUNLIST_ENABLED, | 1082 | gk20a_fifo_set_runlist_state(g, runlists_mask, RUNLIST_ENABLED); |
1084 | !RUNLIST_INFO_MUTEX_LOCKED); | ||
1085 | 1083 | ||
1086 | /* It is safe to enable ELPG again. */ | 1084 | /* It is safe to enable ELPG again. */ |
1087 | if (g->support_pmu && g->elpg_enabled) | 1085 | if (g->support_pmu && g->elpg_enabled) |