diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-12-09 03:04:05 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 18:06:45 -0400 |
commit | 5df3d09e16c9d2f413cea53d16bc8ca42ae42d6e (patch) | |
tree | 0ed55cf8bdf0d265742d396c160f8dd0f1ac9d85 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 4ccb162da7a2414c344aecc9cdf85bee9c284caf (diff) |
gpu: nvgpu: gm20b: Enable CTA preemption
CTA preemption needs to be enabled by setting a value in context. Set
it for gm20b.
Bug 200063473
Bug 1517461
Change-Id: I080cd71b348d08f834fd23ebbe7443dba79224db
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/661299
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 9bb890ca..184ef168 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -151,7 +151,7 @@ struct gpu_ops { | |||
151 | int (*init_ctx_state)(struct gk20a *g); | 151 | int (*init_ctx_state)(struct gk20a *g); |
152 | int (*alloc_gr_ctx)(struct gk20a *g, | 152 | int (*alloc_gr_ctx)(struct gk20a *g, |
153 | struct gr_ctx_desc **__gr_ctx, struct vm_gk20a *vm, | 153 | struct gr_ctx_desc **__gr_ctx, struct vm_gk20a *vm, |
154 | u32 padding); | 154 | u32 class, u32 padding); |
155 | void (*free_gr_ctx)(struct gk20a *g, | 155 | void (*free_gr_ctx)(struct gk20a *g, |
156 | struct vm_gk20a *vm, | 156 | struct vm_gk20a *vm, |
157 | struct gr_ctx_desc *gr_ctx); | 157 | struct gr_ctx_desc *gr_ctx); |