diff options
author | Richard Zhao <rizhao@nvidia.com> | 2016-07-21 13:45:34 -0400 |
---|---|---|
committer | Vladislav Buzov <vbuzov@nvidia.com> | 2016-07-27 01:55:50 -0400 |
commit | 4c79e2b236e3b6034192619709e6cd6a36f9eb17 (patch) | |
tree | 0a2ec53d1c5db7ddd1b764c2b2852a3f618572b1 /drivers/gpu/nvgpu | |
parent | 6ac44d2813f5ab1873eb5148f26746a8f9dbd4a8 (diff) |
gpu: nvgpu: make func gm20b_gr_tpc_disable_override global
Bug 200220632
Change-Id: I75f628c54d68bbd06d5d8aeb32b8ee145411b8da
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: http://git-master/r/1185067
(cherry picked from commit 0523a71eaac9dc7751f6e0e7d280b01f3a9e4ea3)
Reviewed-on: http://git-master/r/1189784
Reviewed-by: Thomas Fleury <tfleury@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vladislav Buzov <vbuzov@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c index cc709c78..d57b0fb5 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c | |||
@@ -1365,7 +1365,7 @@ static int gr_gm20b_get_preemption_mode_flags(struct gk20a *g, | |||
1365 | return 0; | 1365 | return 0; |
1366 | } | 1366 | } |
1367 | 1367 | ||
1368 | static int gm20b_gr_tpc_disable_override(struct gk20a *g, u32 mask) | 1368 | int gm20b_gr_tpc_disable_override(struct gk20a *g, u32 mask) |
1369 | { | 1369 | { |
1370 | if (!mask) | 1370 | if (!mask) |
1371 | return 0; | 1371 | return 0; |
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h index 2a585e63..fc52f223 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h | |||
@@ -47,5 +47,6 @@ void gr_gm20b_commit_global_attrib_cb(struct gk20a *g, | |||
47 | struct channel_ctx_gk20a *ch_ctx, | 47 | struct channel_ctx_gk20a *ch_ctx, |
48 | u64 addr, bool patch); | 48 | u64 addr, bool patch); |
49 | int gr_gm20b_init_fs_state(struct gk20a *g); | 49 | int gr_gm20b_init_fs_state(struct gk20a *g); |
50 | int gm20b_gr_tpc_disable_override(struct gk20a *g, u32 mask); | ||
50 | 51 | ||
51 | #endif | 52 | #endif |