summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_sema_service.h
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-11-16 01:14:56 -0500
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-11-16 01:14:56 -0500
commit70e4e560b55e7155e6103601f078945c1d13c615 (patch)
treeeb387670ccfb729161b8557acbdbf1a7aa8c58a8 /kernel/gsp_sema_service.h
parent9d925787218af080316a81c85da4ea91884ecb21 (diff)
downloadopen-iov-70e4e560b55e7155e6103601f078945c1d13c615.tar.gz
open-iov-70e4e560b55e7155e6103601f078945c1d13c615.zip
vgsp: eng77 - capture and replay the client's VERTEX_STREAM_TURING CALL(2)
The beef 728-byte push carries CALL_MME_MACRO(2) (method 0x3810, golden slot 2 = VERTEX_STREAM_TURING) with payload [0,0,0x0450e100]: the Mesa mme_tu104_sim of golden slot 2 with those args emits SET_VERTEX_STREAM_A_LOCATION 0x1c04<-0, 0x1c08<-0, and the Turing size pair 0x600<-0, 0x604<-<the VA> - the VTG stream state the per-frame DRAW window slices omit. The census (eng76, 0x100..0x1ff) finds it at 0x148 of the 728 push; the 247-word window carries the relocated call at 0x2e0 (d2=0x1e22100), the 151-word DRAW window does not. - service: sticky svc_gl_vs_call[3] from every 0x3810 run (VS-CALL receipt), getter gsp_sema_gl_vs_call(). - booter release_save: when the window has no 0x3810 run, prepend the captured ONE_INCR run (0x3810<-payload) ahead of the DRAW window; the normal patch relocates the VA payload (sema_gl_mme_reloc). - vs_pre buffer 12->24 words. Census range stays 0x100..0x1ff (eng76).
Diffstat (limited to 'kernel/gsp_sema_service.h')
-rw-r--r--kernel/gsp_sema_service.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/gsp_sema_service.h b/kernel/gsp_sema_service.h
index 926f81e..4a739da 100644
--- a/kernel/gsp_sema_service.h
+++ b/kernel/gsp_sema_service.h
@@ -629,6 +629,7 @@ bool gsp_sema_gr_surf_recs(u64 *va, u32 *n);
*/
u64 gsp_sema_mme_sa_get(u32 *entries, u32 n);
u64 gsp_sema_gl_vs_base(u32 j);
+bool gsp_sema_gl_vs_call(u32 out[3]);
/*
* Golden SA completion (sema_gl_mme_sa_golden_fill): set the host-side