summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_sema_service.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_sema_service.c')
-rw-r--r--kernel/gsp_sema_service.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/kernel/gsp_sema_service.c b/kernel/gsp_sema_service.c
index 435386e..4a7180e 100644
--- a/kernel/gsp_sema_service.c
+++ b/kernel/gsp_sema_service.c
@@ -39162,19 +39162,20 @@ static void svc_fwd_gr_work(void)
}
/*
- * Chain the saved-window release behind a successful host pack
- * carrier: the carrier's launch poll owns the single forwarding slot
- * for up to sema_mme_fast_ms, and the client's 3D channel may tear
- * down before the next service pass fires the armed release (c779:
- * release ARM at +0.1 s, beef channel unregistered ~2.2 s later ->
- * MME-CARRY-HOLD reason=no-channel). Wait out the release's settle
- * grace inside this slot, claim it, and run the release work
- * directly, so the saved window reaches the engine while the channel
- * is still alive. The release work owns the outcome publish and the
- * INFLIGHT clear.
- */
- if (!hw_rc && svc_fwd_req.gr_synthetic && !svc_fwd_req.gr_release &&
- gsp_phys_gr_mme_release_chain_enabled()) {
+ * Chain the saved-window release behind a successful GR launch of
+ * the release's own beef handle: the launch poll owns the single
+ * forwarding slot (up to sema_mme_fast_ms), and the client's 3D
+ * channel may tear down before the next service pass fires the armed
+ * release (c779: release ARM at +0.1 s, channel unregistered ~2.2 s
+ * later -> no-channel; c796: +0.1 s vs +0.99 s). Wait out the
+ * release's settle grace inside this slot, claim it, and run the
+ * release work directly, so the saved window reaches the engine while
+ * the channel is still alive. The release work owns the outcome
+ * publish and the INFLIGHT clear.
+ */
+ if (!hw_rc && !svc_fwd_req.gr_release &&
+ gsp_phys_gr_mme_release_chain_enabled() &&
+ gsp_phys_gr_mme_release_owed_for(svc_fwd_req.gr_h_object)) {
unsigned long deadline = jiffies + msecs_to_jiffies(500);
u32 rheld = 0, rwin = 0;
bool took = false;