summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_sema_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_sema_service.h')
-rw-r--r--kernel/gsp_sema_service.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/gsp_sema_service.h b/kernel/gsp_sema_service.h
index 8fec320..7228cd3 100644
--- a/kernel/gsp_sema_service.h
+++ b/kernel/gsp_sema_service.h
@@ -73,6 +73,15 @@ void gsp_sema_service_vgpu_cleanup(struct nv_vgpu_device *vgpu);
int gsp_sema_service_scrubbuf_add(u64 fin_pa, u64 hsem_pa);
/*
+ * Author the CeUtils scrubber's progress from the GSP-RM send path's
+ * ring-full wait loop (r1668). Called on the sema service thread only; it
+ * lets the scrub completion run while the pump is blocked posting a
+ * critical event into a status ring the guest cannot drain (the guest's RM
+ * consumer is frozen behind the very scrub wait this releases).
+ */
+void gsp_sema_service_scrub_pump(struct nv_vgpu_device *vgpu);
+
+/*
* A GPU VA space whose top-level page directory the driver has published (the
* driver builds its own page tables for the address spaces it owns, then hands
* the directory's physical address to the GPU through SET_PAGE_DIRECTORY).