summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/gsp_phys_booter.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/kernel/gsp_phys_booter.c b/kernel/gsp_phys_booter.c
index 6eb83cb..7966bc8 100644
--- a/kernel/gsp_phys_booter.c
+++ b/kernel/gsp_phys_booter.c
@@ -212,8 +212,14 @@ bool gsp_phys_boot_requested(void)
* by the command buffer (opcode dword + opcode-specific payload dwords). All
* bounds and delays are hard-capped so a malformed element can never drive an
* unbounded access.
+ *
+ * bufferSizeDWord is the size of GSP-RM's own sequencer buffer, not the
+ * message: the reference only requires it to be nonzero and greater than
+ * cmdIndex, and live GSP-RM reports 0x3FE2 (16354) on this TU104. The cap is
+ * therefore a sanity ceiling, not a protocol limit; the real execution bound
+ * is cmdIndex against the element payload length.
*/
-#define GSP_PHYS_SEQ_MAX_BUFFER_DWORDS 0x1000
+#define GSP_PHYS_SEQ_MAX_BUFFER_DWORDS 0x40000
#define GSP_PHYS_SEQ_REG_SAVE_SIZE 8
#define GSP_PHYS_SEQ_HALT_TIMEOUT_MS 5000
#define GSP_PHYS_SEQ_RESUME_TIMEOUT_MS 10000