On Wed, Nov 4, 2015 at 3:38 AM, C Bergström <cbergst...@pathscale.com> wrote: > To bring this conversation back on track - where would someone start > *exactly* to port this to another OS? What kernel dependencies are > there?
drivers/gpu/drm/nouveau/{nvkm,nvif,usif} can be dropped in wholesale with just a small handful of shims and helper functions. This is the code that presents the GPU's internals in a fairly generation-agnostic way, and also provides some high-level functionality. drivers/gpu/drm/nouveau/* needs to be ported to the other OS's infrastructure. If the OS also has a port of linux's DRM and TTM infrastructures, a lot of that will be able to be taken wholesale. This is the code that interacts with the core above. Decodes ioctls, manages memory, performs kernel-side modesetting, etc. Cheers, -ilia _______________________________________________ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau