summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/falcon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/falcon.h b/drivers/gpu/nvgpu/include/nvgpu/falcon.h
index 3079c79e..ca61ae46 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/falcon.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/falcon.h
@@ -129,6 +129,7 @@ struct nvgpu_falcon_engine_dependency_ops {
129struct nvgpu_falcon_ops { 129struct nvgpu_falcon_ops {
130 int (*reset)(struct nvgpu_falcon *flcn); 130 int (*reset)(struct nvgpu_falcon *flcn);
131 void (*set_irq)(struct nvgpu_falcon *flcn, bool enable); 131 void (*set_irq)(struct nvgpu_falcon *flcn, bool enable);
132 bool (*clear_halt_interrupt_status)(struct nvgpu_falcon *flcn);
132 bool (*is_falcon_cpu_halted)(struct nvgpu_falcon *flcn); 133 bool (*is_falcon_cpu_halted)(struct nvgpu_falcon *flcn);
133 bool (*is_falcon_idle)(struct nvgpu_falcon *flcn); 134 bool (*is_falcon_idle)(struct nvgpu_falcon *flcn);
134 bool (*is_falcon_scrubbing_done)(struct nvgpu_falcon *flcn); 135 bool (*is_falcon_scrubbing_done)(struct nvgpu_falcon *flcn);
@@ -167,6 +168,8 @@ struct nvgpu_falcon {
167 168
168int nvgpu_flcn_wait_idle(struct nvgpu_falcon *flcn); 169int nvgpu_flcn_wait_idle(struct nvgpu_falcon *flcn);
169int nvgpu_flcn_wait_for_halt(struct nvgpu_falcon *flcn, unsigned int timeout); 170int nvgpu_flcn_wait_for_halt(struct nvgpu_falcon *flcn, unsigned int timeout);
171int nvgpu_flcn_clear_halt_intr_status(struct nvgpu_falcon *flcn,
172 unsigned int timeout);
170int nvgpu_flcn_reset(struct nvgpu_falcon *flcn); 173int nvgpu_flcn_reset(struct nvgpu_falcon *flcn);
171void nvgpu_flcn_set_irq(struct nvgpu_falcon *flcn, bool enable, 174void nvgpu_flcn_set_irq(struct nvgpu_falcon *flcn, bool enable,
172 u32 intr_mask, u32 intr_dest); 175 u32 intr_mask, u32 intr_dest);