From e6a21a49f50929ed8010d52378a180afeb7eb39c Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Sat, 7 Nov 2026 02:12:31 -0500 Subject: vgsp-gl: author the PS/TCS stage images for the emitted mask slots --- kernel/gsp_phys_booter.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'kernel/gsp_phys_booter.c') diff --git a/kernel/gsp_phys_booter.c b/kernel/gsp_phys_booter.c index 43e4e11..733937c 100644 --- a/kernel/gsp_phys_booter.c +++ b/kernel/gsp_phys_booter.c @@ -19809,6 +19809,18 @@ bool gsp_phys_rmcall_gr_sph_bind_value(void) return READ_ONCE(gsp_phys_rmcall_gr_sph_bind); } +/* + * SESSION 155 CONT 25: the synth slot mask must be readable by the sema + * service so it authors exactly the stage images the booter binds. With + * sema_gl_sph_bind=0 + sema_sph_bind_mask=0x35 the booter emits j0/j2/j5, + * but the service's PS/TCS authoring loop was gated on the all-slots bool, + * so the PS image could be left stale/zero at draw time (r1575). + */ +u32 gsp_phys_rmcall_gr_sph_bind_mask_value(void) +{ + return READ_ONCE(gsp_phys_rmcall_gr_sph_bind_mask); +} + /* * SESSION 154c (viewport wall): the replayed 3D window carries no * viewport family state - the colour target, raster enable, shader -- cgit v1.2.3