diff options
| -rw-r--r-- | kernel/gsp_rm_emulation.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/gsp_rm_emulation.c b/kernel/gsp_rm_emulation.c index 24bd8fe..2d38829 100644 --- a/kernel/gsp_rm_emulation.c +++ b/kernel/gsp_rm_emulation.c @@ -611,7 +611,8 @@ static void gsp_rm_build_static_info(u8 *buf) /* poisonFuseEnabled (offset 1216, 1 byte) */ buf[TU104_GSCI_OFF_poisonFuseEnabled] = 0; - /* fb_length (offset 1224, 8 bytes) - 256MB */ + /* fb_length (offset 1224, 8 bytes) - 256MB (512MB broke the FWSEC + * WPR2-location check below). */ val64 = 0x10000000ULL; memcpy(buf + TU104_GSCI_OFF_fb_length, &val64, 8); @@ -680,7 +681,7 @@ static void gsp_rm_build_static_info(u8 *buf) /* fwWprLayoutOffset (offset 1640, 16 bytes): nonWprHeapOffset, frtsOffset */ val64 = 0; memcpy(buf + TU104_GSCI_OFF_fwWprLayoutOffset, &val64, 8); - val64 = 0xFE00000; /* frtsOffset = fbSize - 2MB */ + val64 = 0xFE00000; /* frtsOffset = fbSize - 2MB (256MB) */ memcpy(buf + TU104_GSCI_OFF_fwWprLayoutOffset + 8, &val64, 8); } |
