diff options
author | Richard Zhao <rizhao@nvidia.com> | 2016-04-25 19:16:54 -0400 |
---|---|---|
committer | Adeel Raza <araza@nvidia.com> | 2016-05-10 15:29:49 -0400 |
commit | bc72480f8dc09737fc87782a69c71785de08f2c0 (patch) | |
tree | 385457db6cc71dc8f844742f3b4bb6ddaa556baa /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 9357086cee7f11de57f37447ce068c59eebcd411 (diff) |
gpu: nvgpu: add fuse overrides for tpc disabling
- add fuse_override in gops. Implement it starting from gm20b.
- set cwd fs register, so cuda won't use disabled TPCs
Bug 1757262
Bug 200169697
Change-Id: If7bac58bd3a6bcf2925197ea5b7c2d10a77e0933
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
(cherry picked from commit 66cde7724815e9e5e85ab9b07fc985a78530222f)
Reviewed-on: http://git-master/r/1132177
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Adeel Raza <araza@nvidia.com>
Tested-by: Adeel Raza <araza@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 09198fa5..f228cce4 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -259,6 +259,7 @@ struct gpu_ops { | |||
259 | u32 compute_preempt_mode); | 259 | u32 compute_preempt_mode); |
260 | int (*get_preemption_mode_flags)(struct gk20a *g, | 260 | int (*get_preemption_mode_flags)(struct gk20a *g, |
261 | struct nvgpu_preemption_modes_rec *preemption_modes_rec); | 261 | struct nvgpu_preemption_modes_rec *preemption_modes_rec); |
262 | int (*fuse_override)(struct gk20a *g); | ||
262 | } gr; | 263 | } gr; |
263 | const char *name; | 264 | const char *name; |
264 | struct { | 265 | struct { |