diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-10-27 09:05:45 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:02 -0500 |
commit | 0b50f2a2020c81f00999a8f06a67dde4c214821f (patch) | |
tree | 2e438a39e825ee8988c15b8063e477943eee2bf0 /drivers/gpu/nvgpu/gp10b/mc_gp10b.h | |
parent | 16c511220ecda4a0220976f649fddabcfbee86e0 (diff) |
gpu: nvgpu: Implement gp10b intr processing
Bug 1567274
Change-Id: I2a6cef954b56d1f97208d29584e0748ec1c5e29d
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/591628
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/mc_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/mc_gp10b.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/mc_gp10b.h b/drivers/gpu/nvgpu/gp10b/mc_gp10b.h new file mode 100644 index 00000000..f274ce05 --- /dev/null +++ b/drivers/gpu/nvgpu/gp10b/mc_gp10b.h | |||
@@ -0,0 +1,24 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms and conditions of the GNU General Public License, | ||
6 | * version 2, as published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
11 | * more details. | ||
12 | */ | ||
13 | |||
14 | #ifndef MC_GP20B_H | ||
15 | #define MC_GP20B_H | ||
16 | struct gk20a; | ||
17 | |||
18 | void gp10b_init_mc(struct gpu_ops *gops); | ||
19 | void mc_gp10b_intr_enable(struct gk20a *g); | ||
20 | irqreturn_t mc_gp10b_isr_stall(struct gk20a *g); | ||
21 | irqreturn_t mc_gp10b_isr_nonstall(struct gk20a *g); | ||
22 | irqreturn_t mc_gp10b_intr_thread_stall(struct gk20a *g); | ||
23 | irqreturn_t mc_gp10b_intr_thread_nonstall(struct gk20a *g); | ||
24 | #endif | ||