diff options
author | Vijayakumar <vsubbu@nvidia.com> | 2014-10-08 10:37:37 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:41 -0400 |
commit | f56d50ddac2ea70c7d50f22b9cd74408b1042da3 (patch) | |
tree | 3c59c2560c42ad34909884cab800327fa6053f47 /drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | |
parent | b318d4c407dda213961255fe3bcff8a2705d0abc (diff) |
gpu:nvgpu:gm20b: disable irqs when hs pmu executes
bug 200040021
polling halt irq to check for hs bin completion
keep irqs disabled to avoid executing irq handler
Change-Id: Ic245d89580444dcbf1cf5ec34bfe0f8b0c5bbc0f
Signed-off-by: Vijayakumar <vsubbu@nvidia.com>
Reviewed-on: http://git-master/r/554659
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c index 64b126f6..7a62f05c 100644 --- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | |||
@@ -1048,7 +1048,7 @@ static int pmu_idle(struct pmu_gk20a *pmu) | |||
1048 | return 0; | 1048 | return 0; |
1049 | } | 1049 | } |
1050 | 1050 | ||
1051 | static void pmu_enable_irq(struct pmu_gk20a *pmu, bool enable) | 1051 | void pmu_enable_irq(struct pmu_gk20a *pmu, bool enable) |
1052 | { | 1052 | { |
1053 | struct gk20a *g = gk20a_from_pmu(pmu); | 1053 | struct gk20a *g = gk20a_from_pmu(pmu); |
1054 | 1054 | ||