Skip to content

nvk: Move the winsys device to nvk_device

Faith Ekstrand requested to merge gfxstrand/mesa:nvk/per-dev-fd into nvk/main

Vulkan requires that different VkDevices be unable to affect each other. To correctly provide this invariant, each VkDevice really needs its on virtual address space. This means opening a new nouveau_device per nvk_device. This may make device creation a tiny bit less efficient but we can fix that with some sort of caching if we absolutely need to.

Merge request reports