From a644d2540d3a25c8ed6959548c6107f76e72ad89 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Mon, 16 Nov 2026 18:23:02 -0500 Subject: vgsp: eng89o - locate the draw method, force a draw slice, launch it first; clear damage on REARM --- kernel/gsp_phys_booter.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'kernel/gsp_phys_booter.c') diff --git a/kernel/gsp_phys_booter.c b/kernel/gsp_phys_booter.c index 751f680..0e319c1 100644 --- a/kernel/gsp_phys_booter.c +++ b/kernel/gsp_phys_booter.c @@ -25191,6 +25191,21 @@ if (gsp_phys_gr_slot_kept(j, sa_mask, (unsigned long long)req->push_va); } mme_hold_calls = false; + /* + * eng89o: the pack just completed, so the channel now + * holds the resident program and this launch's CALL + * runs may execute. A stale STREAM-DAMAGE record from + * an earlier dropped chunk of the same push must not + * re-hold them (c995: REARM at 32646.745, the damage + * branch re-set the hold 1 ms later). Clear the record + * and the local verdict for this launch. + */ + gsp_phys_gr_stream_damage_clear(req->push_va); + stream_damaged = false; + if (pack_rearm_log <= 8u) + pr_info("vgsp-gr: STREAM-DAMAGE-CLEAR h=0x%x push=0x%llx (pack rearm; stale damage dropped)\n", + req->h_object, + (unsigned long long)req->push_va); } /* * r1487 STREAM-DAMAGE: an earlier chunk of this same push was -- cgit v1.2.3