diff options
Diffstat (limited to 'kernel/gsp_phys_gpu.h')
| -rw-r--r-- | kernel/gsp_phys_gpu.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/gsp_phys_gpu.h b/kernel/gsp_phys_gpu.h index 214c62d..f34d7a2 100644 --- a/kernel/gsp_phys_gpu.h +++ b/kernel/gsp_phys_gpu.h @@ -166,6 +166,16 @@ bool gsp_phys_fault_relay_enabled(void); bool gsp_phys_fault_inject_enabled(void); /* + * RM-client ladder engine selector (gsp_phys_rmcall_engine; default 0): + * returns the raw module-parameter value, where 0 = COPY0 (the existing CE + * ladder) and 1 = GR0 (the TURING_COMPUTE_A engine object plus a GR + * semaphore release). The booter snapshots this when the rm-call ladder's + * stage 3 starts and ignores later changes, so this accessor is for the + * snapshot and diagnostics only. + */ +int gsp_phys_rmcall_engine_value(void); + +/* * Translate a guest GPA to the pinned host PA (gsp_phys_guest_mem ladder * support). The mdev is registered with vfio_register_emulated_iommu_dev(): * its VFIO type-1 container keeps the guest DMA mappings privately, so |
