diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-10-27 05:06:59 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:54 -0400 |
commit | 2d5ff668cbc6a932df2c9cf79627d1d340e5c2c0 (patch) | |
tree | 1d9bc4b774a9c2cea339891eaef3af5b87ee354d /drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |
parent | 23a182aaa61d120c965f1bce09609cc14d4e14eb (diff) |
gpu: nvgpu: GR and LTC HAL to use const structs
Convert GR and LTC HALs to use const structs, and initialize them
with macros.
Bug 1567274
Change-Id: Ia3f24a5eccb27578d9cba69755f636818d11275c
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/590371
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h index 7db6bccf..508edc79 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |||
@@ -350,11 +350,11 @@ int gr_gk20a_init_ctx_vars(struct gk20a *g, struct gr_gk20a *gr); | |||
350 | struct nvgpu_alloc_obj_ctx_args; | 350 | struct nvgpu_alloc_obj_ctx_args; |
351 | struct nvgpu_free_obj_ctx_args; | 351 | struct nvgpu_free_obj_ctx_args; |
352 | 352 | ||
353 | int gk20a_alloc_obj_ctx(struct channel_gk20a *c, | 353 | int gr_gk20a_alloc_obj_ctx(struct channel_gk20a *c, |
354 | struct nvgpu_alloc_obj_ctx_args *args); | 354 | struct nvgpu_alloc_obj_ctx_args *args); |
355 | int gk20a_free_obj_ctx(struct channel_gk20a *c, | 355 | int gr_gk20a_free_obj_ctx(struct channel_gk20a *c, |
356 | struct nvgpu_free_obj_ctx_args *args); | 356 | struct nvgpu_free_obj_ctx_args *args); |
357 | void gk20a_free_channel_ctx(struct channel_gk20a *c); | 357 | void gr_gk20a_free_channel_ctx(struct channel_gk20a *c); |
358 | 358 | ||
359 | int gk20a_gr_isr(struct gk20a *g); | 359 | int gk20a_gr_isr(struct gk20a *g); |
360 | int gk20a_gr_nonstall_isr(struct gk20a *g); | 360 | int gk20a_gr_nonstall_isr(struct gk20a *g); |