summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r--drivers/gpu/nvgpu/common/falcon/falcon.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/falcon/falcon.c b/drivers/gpu/nvgpu/common/falcon/falcon.c
index 9e832985..4e3ea1a8 100644
--- a/drivers/gpu/nvgpu/common/falcon/falcon.c
+++ b/drivers/gpu/nvgpu/common/falcon/falcon.c
@@ -116,6 +116,14 @@ bool nvgpu_flcn_get_idle_status(struct nvgpu_falcon *flcn)
116 return status; 116 return status;
117} 117}
118 118
119int nvgpu_flcn_copy_from_dmem(struct nvgpu_falcon *flcn,
120 u32 src, u8 *dst, u32 size, u8 port)
121{
122 struct nvgpu_falcon_ops *flcn_ops = &flcn->flcn_ops;
123
124 return flcn_ops->copy_from_dmem(flcn, src, dst, size, port);
125}
126
119void nvgpu_flcn_sw_init(struct gk20a *g, u32 flcn_id) 127void nvgpu_flcn_sw_init(struct gk20a *g, u32 flcn_id)
120{ 128{
121 struct nvgpu_falcon *flcn = NULL; 129 struct nvgpu_falcon *flcn = NULL;