From ebe1ed7717e55e5372d90ea56711d4073b5c9cd4 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Wed, 7 Oct 2026 11:35:52 -0400 Subject: vgsp: m84 - stage-4 CE read-back of the GR context image header and VEID0 subctx header gsp_phys_rmcall_gr_img_probe=1: after the stage-4 GR sem proof the ladder re-binds the rmcall channel to COPY0, copies image VA 0x2200000 and the subctx header VA 0x22f3000 into the DST sysmem chunk through the real CE, dumps the header pointers, and re-binds GR0. This is the missing read path for the FBMEM context image (the GPC exception at QMD activation needs the image's PATCH/PM/ZCULL/priv-map/global pointers and the subctx header content to be compared against the expected VAs). --- kernel/gsp_phys_gpu.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kernel/gsp_phys_gpu.h') diff --git a/kernel/gsp_phys_gpu.h b/kernel/gsp_phys_gpu.h index 9bd5624..1b0bac3 100644 --- a/kernel/gsp_phys_gpu.h +++ b/kernel/gsp_phys_gpu.h @@ -366,6 +366,10 @@ int gsp_phys_rmcall_gr_lane_skip_value(void); * records are readable (default 0 = server FBMEM). */ int gsp_phys_rmcall_gr_notifier_sys_value(void); +/* m84: stage-4 CE read-back of the GR context image header + subctx header + * (default 0). */ +int gsp_phys_rmcall_gr_img_probe_value(void); + /* * Ladder VAS ownership selector (gsp_phys_rmcall_vas_shared; default 0). * 0 = FERMI_VASPACE_A is allocated IS_EXTERNALLY_OWNED (historical ladder -- cgit v1.2.3