summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_phys_booter.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_phys_booter.h')
-rw-r--r--kernel/gsp_phys_booter.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/gsp_phys_booter.h b/kernel/gsp_phys_booter.h
index 6689771..f821a85 100644
--- a/kernel/gsp_phys_booter.h
+++ b/kernel/gsp_phys_booter.h
@@ -495,6 +495,15 @@ struct gsp_phys_gr_submit {
*/
const u32 *stream;
u32 stream_n; /* dwords */
+ /* Stream-relative dword offset of this window inside the client's
+ * 3D section (0 = the section's first chunk). Used to detect that an
+ * earlier chunk of the same push was dropped by a LOAD-ONLY carrier
+ * or the r1447 window hold: the remaining chunks must then elide
+ * their CALL runs (the lost chunk's state - e.g. the constant-buffer
+ * selector - is no longer on the channel, so a macro that emits
+ * LOAD_CONSTANT_BUFFER would class-error -> FECS priv-error poison).
+ */
+ u32 stream_rel;
/*
* SESSION 153-CONTINUED-87: the first program VA the captured
* window binds (SET_PIPELINE_PROGRAM_ADDRESS pair; 0 when none).