summaryrefslogtreecommitdiffstats
path: root/kernel/include/gsp_display_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/gsp_display_engine.h')
-rw-r--r--kernel/include/gsp_display_engine.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/include/gsp_display_engine.h b/kernel/include/gsp_display_engine.h
index 8b62c21..064c95c 100644
--- a/kernel/include/gsp_display_engine.h
+++ b/kernel/include/gsp_display_engine.h
@@ -54,6 +54,15 @@ void gsp_disp_engine_channel_add(struct nv_vgpu_device *vgpu, u32 hclass,
void gsp_disp_engine_note_object(struct nv_vgpu_device *vgpu, u32 hclass,
u32 instance, u32 h_object);
+/*
+ * r1765 flip-event shield predicate: is @h_object a registered display
+ * channel object of @vgpu? The event-post fallback paths consult this to
+ * keep display events under the display engine's 1:1 posts while
+ * disp_events_strict is enabled. Returns false while the parameter is 0
+ * (the legacy default), so the call sites are inert in legacy mode.
+ */
+bool gsp_disp_engine_owns_object(struct nv_vgpu_device *vgpu, u32 h_object);
+
/* Run one pass for a guest (called from the sema service thread). */
void gsp_disp_engine_pump(struct nv_vgpu_device *vgpu);