summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_sema_service.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_sema_service.c')
-rw-r--r--kernel/gsp_sema_service.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/kernel/gsp_sema_service.c b/kernel/gsp_sema_service.c
index 455adff..69b7341 100644
--- a/kernel/gsp_sema_service.c
+++ b/kernel/gsp_sema_service.c
@@ -13127,9 +13127,16 @@ static void svc_gl_flush(struct nv_vgpu_device *vgpu,
gs_words[17] = 0u;
} else if (gs_maps == 3u) {
gs_words[17] = 0u;
- } else if (gs_maps == 4u) {
+ } else if (gs_maps == 4u || gs_maps == 6u) {
/* IMAP = previous OMAP; OMAP =
- * PS IMAP exactly (POSITION.W). */
+ * PS IMAP exactly (POSITION.W).
+ * maps=6 is the live-derived
+ * variant: the booter rewrites
+ * the whole 216-bit blocks from
+ * the bound VTG/PS images at
+ * authoring time; these words
+ * are the safe fallback when the
+ * booter cannot derive. */
gs_words[5] = 0xf0000000u;
gs_words[10] = 0x0000000fu;
gs_words[13] = 0x00008000u;