Skip to content

nvk: only unmap heap bos that were mapped

Dave Airlie requested to merge airlied/mesa:nvk-fix-heap-smash into main
nvk: only unmap heap bos that were mapped

Otherwise we munmap(0, size) and remove the cts binary maps

Fixes: e6f137e9edcb ("nvk: Only map heaps that explicitly request maps")

This seems to fix the various stack smashes seen with glcts/zink/nvk testing.

Merge request reports