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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/gsp_sema_service.h b/kernel/gsp_sema_service.h
index 22e9edc..4b04892 100644
--- a/kernel/gsp_sema_service.h
+++ b/kernel/gsp_sema_service.h
@@ -148,6 +148,17 @@ void gsp_sema_service_fwd_fault_stats(u64 *matched, u64 *unmatched,
u64 *late_release);
/*
+ * GR (compute) forwarding counters for the gsp-phys-state work_gr line:
+ * captures offered to the request path (req), launches the physical GR
+ * channel completed (ok), offerings that fell back to the CUDA bridge /
+ * software release (fallback), gate refusals (refused), backend timeouts
+ * (timeout) and timeouts carrying a decoded engine fault (fault). All zero
+ * while gsp_phys_gr_forward=0. Plain reads, safe from the debugfs show path.
+ */
+void gsp_sema_service_fwd_gr_stats(u64 *req, u64 *ok, u64 *fallback,
+ u64 *refused, u64 *timeout, u64 *fault);
+
+/*
* Discover and pin GR (compute) channel rings after the CE region of the
* channel video-memory allocation. Set false to leave GR rings untranslated
* (the pump then only runs the CE channels).