diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-07 11:35:52 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-07 11:35:52 -0400 |
| commit | ebe1ed7717e55e5372d90ea56711d4073b5c9cd4 (patch) | |
| tree | f3270c6fc8aae4598409656f5b2cd0937dfd8208 /kernel/gsp_phys_gpu.h | |
| parent | 4541bae601a330d2a22a21d9e24d0fe879ebf618 (diff) | |
| download | open-iov-ebe1ed7717e55e5372d90ea56711d4073b5c9cd4.tar.gz open-iov-ebe1ed7717e55e5372d90ea56711d4073b5c9cd4.zip | |
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).
Diffstat (limited to 'kernel/gsp_phys_gpu.h')
| -rw-r--r-- | kernel/gsp_phys_gpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
