summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_phys_booter.c
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-11-16 18:23:02 -0500
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-11-16 18:23:02 -0500
commita644d2540d3a25c8ed6959548c6107f76e72ad89 (patch)
treefc88e9fb9dc7e72e8d6541dfaac73a87daf86b7c /kernel/gsp_phys_booter.c
parentebacf2207e7c9413280bca991d10656737c3df96 (diff)
downloadopen-iov-a644d2540d3a25c8ed6959548c6107f76e72ad89.tar.gz
open-iov-a644d2540d3a25c8ed6959548c6107f76e72ad89.zip
vgsp: eng89o - locate the draw method, force a draw slice, launch it first; clear damage on REARM
Diffstat (limited to 'kernel/gsp_phys_booter.c')
-rw-r--r--kernel/gsp_phys_booter.c15
1 files changed, 15 insertions, 0 deletions
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