diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-04-11 16:01:59 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-04-15 15:38:33 -0400 |
commit | 0e423669a4ff3f00b06d86f8ca251ef99f3671ce (patch) | |
tree | 637552c0c76d0a7a820d5cb8f359478d756e8c2a /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 7d8e2193893454bc8e05543c956fab32b8eed54b (diff) |
gpu: nvgpu: Wait for BAR1 bind
Wait for BAR1 bind to complete before continuing. The register to
wait exists Maxwell onwards.
Change-Id: Ie3736033fdb748c5da8d7a6085ad6d63acaf41f5
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1123941
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index e17392d0..61e8e641 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -475,6 +475,7 @@ struct gpu_ops { | |||
475 | void (*init_pdb)(struct gk20a *g, void *inst_ptr, u64 pdb_addr); | 475 | void (*init_pdb)(struct gk20a *g, void *inst_ptr, u64 pdb_addr); |
476 | u64 (*get_iova_addr)(struct gk20a *g, struct scatterlist *sgl, | 476 | u64 (*get_iova_addr)(struct gk20a *g, struct scatterlist *sgl, |
477 | u32 flags); | 477 | u32 flags); |
478 | int (*bar1_bind)(struct gk20a *g, u64 bar1_iova); | ||
478 | } mm; | 479 | } mm; |
479 | struct { | 480 | struct { |
480 | int (*init_therm_setup_hw)(struct gk20a *g); | 481 | int (*init_therm_setup_hw)(struct gk20a *g); |