summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_rm_emulation.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_rm_emulation.h')
-rw-r--r--kernel/gsp_rm_emulation.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/gsp_rm_emulation.h b/kernel/gsp_rm_emulation.h
index 1f7b767..82ae493 100644
--- a/kernel/gsp_rm_emulation.h
+++ b/kernel/gsp_rm_emulation.h
@@ -236,6 +236,14 @@ int gsp_rm_emu_init(struct nv_vgpu_device *vgpu, struct gsp_emu_context *ctx);
void gsp_rm_emu_fini(struct gsp_emu_context *ctx);
int gsp_rm_post_channel_event(struct nv_vgpu_device *vgpu, u32 h_src);
int gsp_rm_post_channel_event_force(struct nv_vgpu_device *vgpu, u32 h_src);
+/*
+ * r1765 strict variants: post only to events registered on h_src; a miss
+ * returns -ENOENT instead of running the all-events fallback (the display
+ * engine's retry pump re-posts a refused completion).
+ */
+int gsp_rm_post_channel_event_strict(struct nv_vgpu_device *vgpu, u32 h_src);
+int gsp_rm_post_channel_event_force_strict(struct nv_vgpu_device *vgpu,
+ u32 h_src);
int gsp_rm_force_post(struct nv_vgpu_device *vgpu, u32 idx);
/*
* r623: deliver a synthetic OS_ERROR_LOG (0x1006) record to the guest's RM