diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2014-12-03 20:57:35 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 21:04:38 -0400 |
commit | f4883ab97af69610c0507c245f69eef00d203a28 (patch) | |
tree | c8555fbd7f474db20c44719eeab679ee7f5b1751 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 2dda8077ec7d88ac689b57448031a3bac269fdfa (diff) |
gpu:nvgpu: add bar2 aperture support
Bug 1587825
Change-Id: I884c6b268aabb04b4990713395ebedf92410e02a
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/659239
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
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 3c1186ed..b9796faa 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -325,6 +325,8 @@ struct gpu_ops { | |||
325 | void *inst_ptr, int size); | 325 | void *inst_ptr, int size); |
326 | u32 (*get_big_page_sizes)(void); | 326 | u32 (*get_big_page_sizes)(void); |
327 | u32 (*get_physical_addr_bits)(struct gk20a *g); | 327 | u32 (*get_physical_addr_bits)(struct gk20a *g); |
328 | int (*init_bar2_vm)(struct gk20a *g); | ||
329 | int (*init_bar2_mm_hw_setup)(struct gk20a *g); | ||
328 | } mm; | 330 | } mm; |
329 | struct { | 331 | struct { |
330 | int (*prepare_ucode)(struct gk20a *g); | 332 | int (*prepare_ucode)(struct gk20a *g); |