[Nouveau] Nouveau for FreeBSD

Ilia Mirkin imirkin at alum.mit.edu
Wed Nov 4 08:37:09 PST 2015


On Wed, Nov 4, 2015 at 3:38 AM, C Bergström <cbergstrom at 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


More information about the Nouveau mailing list