diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h b/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h index 373c3eef..be0fa6bf 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h +++ b/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h | |||
@@ -68,7 +68,7 @@ struct nvgpu_sgl; | |||
68 | 68 | ||
69 | struct nvgpu_sgt_ops { | 69 | struct nvgpu_sgt_ops { |
70 | struct nvgpu_sgl *(*sgl_next)(struct nvgpu_sgl *sgl); | 70 | struct nvgpu_sgl *(*sgl_next)(struct nvgpu_sgl *sgl); |
71 | u64 (*sgl_phys)(struct nvgpu_sgl *sgl); | 71 | u64 (*sgl_phys)(struct gk20a *g, struct nvgpu_sgl *sgl); |
72 | u64 (*sgl_dma)(struct nvgpu_sgl *sgl); | 72 | u64 (*sgl_dma)(struct nvgpu_sgl *sgl); |
73 | u64 (*sgl_length)(struct nvgpu_sgl *sgl); | 73 | u64 (*sgl_length)(struct nvgpu_sgl *sgl); |
74 | u64 (*sgl_gpu_addr)(struct gk20a *g, struct nvgpu_sgl *sgl, | 74 | u64 (*sgl_gpu_addr)(struct gk20a *g, struct nvgpu_sgl *sgl, |
@@ -254,7 +254,8 @@ struct nvgpu_sgt *nvgpu_sgt_create_from_mem(struct gk20a *g, | |||
254 | 254 | ||
255 | struct nvgpu_sgl *nvgpu_sgt_get_next(struct nvgpu_sgt *sgt, | 255 | struct nvgpu_sgl *nvgpu_sgt_get_next(struct nvgpu_sgt *sgt, |
256 | struct nvgpu_sgl *sgl); | 256 | struct nvgpu_sgl *sgl); |
257 | u64 nvgpu_sgt_get_phys(struct nvgpu_sgt *sgt, struct nvgpu_sgl *sgl); | 257 | u64 nvgpu_sgt_get_phys(struct gk20a *g, struct nvgpu_sgt *sgt, |
258 | struct nvgpu_sgl *sgl); | ||
258 | u64 nvgpu_sgt_get_dma(struct nvgpu_sgt *sgt, struct nvgpu_sgl *sgl); | 259 | u64 nvgpu_sgt_get_dma(struct nvgpu_sgt *sgt, struct nvgpu_sgl *sgl); |
259 | u64 nvgpu_sgt_get_length(struct nvgpu_sgt *sgt, struct nvgpu_sgl *sgl); | 260 | u64 nvgpu_sgt_get_length(struct nvgpu_sgt *sgt, struct nvgpu_sgl *sgl); |
260 | u64 nvgpu_sgt_get_gpu_addr(struct gk20a *g, struct nvgpu_sgt *sgt, | 261 | u64 nvgpu_sgt_get_gpu_addr(struct gk20a *g, struct nvgpu_sgt *sgt, |