diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp106')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/flcn_gp106.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/flcn_gp106.c b/drivers/gpu/nvgpu/gp106/flcn_gp106.c index f553f5e1..9f542b6a 100644 --- a/drivers/gpu/nvgpu/gp106/flcn_gp106.c +++ b/drivers/gpu/nvgpu/gp106/flcn_gp106.c | |||
@@ -28,12 +28,15 @@ | |||
28 | 28 | ||
29 | static void gp106_falcon_engine_dependency_ops(struct nvgpu_falcon *flcn) | 29 | static void gp106_falcon_engine_dependency_ops(struct nvgpu_falcon *flcn) |
30 | { | 30 | { |
31 | struct gk20a *g = flcn->g; | ||
31 | struct nvgpu_falcon_engine_dependency_ops *flcn_eng_dep_ops = | 32 | struct nvgpu_falcon_engine_dependency_ops *flcn_eng_dep_ops = |
32 | &flcn->flcn_engine_dep_ops; | 33 | &flcn->flcn_engine_dep_ops; |
33 | 34 | ||
34 | switch (flcn->flcn_id) { | 35 | switch (flcn->flcn_id) { |
35 | case FALCON_ID_PMU: | 36 | case FALCON_ID_PMU: |
36 | flcn_eng_dep_ops->reset_eng = nvgpu_pmu_reset; | 37 | flcn_eng_dep_ops->reset_eng = nvgpu_pmu_reset; |
38 | flcn_eng_dep_ops->queue_head = g->ops.pmu.pmu_queue_head; | ||
39 | flcn_eng_dep_ops->queue_tail = g->ops.pmu.pmu_queue_tail; | ||
37 | break; | 40 | break; |
38 | case FALCON_ID_SEC2: | 41 | case FALCON_ID_SEC2: |
39 | flcn_eng_dep_ops->reset_eng = gp106_sec2_reset; | 42 | flcn_eng_dep_ops->reset_eng = gp106_sec2_reset; |