summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_rm_emulation.c
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-22 21:55:54 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-22 21:55:54 -0400
commitfcd603db457c0fb035df882abc55397bc854a1cd (patch)
tree2be5ebc73b3e9710840921b5ab96552623c6ae79 /kernel/gsp_rm_emulation.c
parenta7bda851fc7938555eaaf69b062f49efb9d90ece (diff)
downloadopen-iov-fcd603db457c0fb035df882abc55397bc854a1cd.tar.gz
open-iov-fcd603db457c0fb035df882abc55397bc854a1cd.zip
BAR2 verify test fix: remove PRAMIN sync + contiguous ALLOC + vidmem VA allocator
Fixes the BAR2 verify test (kbusVerifyBar2_GM107): 1. Removed PRAMIN window sync from emulated BAR1 - the sync was overwriting test data written by the driver through the vBar2 aperture. The shadow BAR0 is already consistent (guest writes/reads hit the same shadow location). 2. Added contiguous page allocation for golden image (alloc_pages with order for large allocations, falling back to individual pages). 3. Added vidmem VA allocator - ALLOC now returns GPU VAs within the emulated GPU's vidmem range (0x100000 - fb_size) instead of default 4GB, so the memmgr accepts them. Verified: driver probes past RmInitNvDevice bus init, reaches golden image channel allocation (progress from fn-10 FREE timeout).
Diffstat (limited to 'kernel/gsp_rm_emulation.c')
0 files changed, 0 insertions, 0 deletions