diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-02-20 21:15:04 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 21:56:54 -0400 |
commit | 325e0587d9180b05d59869679fc06b0ba979d973 (patch) | |
tree | dc7e743440c5e86d72c1a2850b8b93a0cc9d0296 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 1b6372ec6b8704d6bacc6b8abf7e599f1cbc15ca (diff) |
gpu: nvgpu: Allow enabling PC sampling
Allow enabling of PC sampling hardware workaround. It is only
applicable to gm20b.
Bug 1517458
Bug 1573150
Change-Id: Iad6a3ae556489fb7ab9628637d291849d2cd98ea
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/710421
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index acee2e48..441ea7cc 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -165,6 +165,8 @@ struct gpu_ops { | |||
165 | void *ctx_ptr); | 165 | void *ctx_ptr); |
166 | int (*dump_gr_regs)(struct gk20a *g, | 166 | int (*dump_gr_regs)(struct gk20a *g, |
167 | struct gk20a_debug_output *o); | 167 | struct gk20a_debug_output *o); |
168 | int (*update_pc_sampling)(struct channel_gk20a *ch, | ||
169 | bool enable); | ||
168 | } gr; | 170 | } gr; |
169 | const char *name; | 171 | const char *name; |
170 | struct { | 172 | struct { |