[Nouveau] Porting nouveau/ttm/drm to FreeBSD/OpenSolaris
rnoland at 2hip.net
Sat Jan 23 08:15:54 PST 2010
On Sat, 2010-01-23 at 13:25 +0300, "C. Bergström" wrote:
> Hi all,
> One of our (PathScale) engineers is planning to port nouveau and all
> dependencies to OpenSolaris. We have two routes we can take and would
> like some feedback from the community.
> 1) There's an existing drm without ttm that was done by the FreeBSD
> developers. Would anyone from the fbsd team like to go over some of the
> trouble they've had in porting ttm?
That would be me. The primary issue for me has been that I didn't have
sufficient knowledge of our VM system to interact appropriately. I
think that I am over that hurdle now, but there is still a lack of any
real documentation on the API, which means deciphering the Linux VM
interactions at least well enough to understand what the intention of
any given function is.
> 2) The engineer doing the work is much more familiar with Intel GEM and
> has said the following (which I don't honestly know if it's true or not)
> a. Intel GEM surely will continue to be supported
> b. It's already available on OpenSolaris
> c. More portable than ttm
> d. GEM doesn't have support for nvidia cards and is missing some
> important features. (For OpenSolaris he says those can be added and is
> less effort than porting ttm)
GEM really only deals with system memory, where TTM deals with pools of
memory from either system or device, along with different attributes.
Unfortunately, my time is very limited at the moment, so I'm unsure when
I'll actually get to work on any of this now.
> e. Is probably better performance compared to ttm
> As some of you may know our interest is currently only in executing
> cuda-like kernels. If it doesn't add a substantial amount of effort we
> would like our efforts to also benefit others. (Specifically fbsd and
> the graphics contexts)
> nouveau itself should be relatively easy to port, but what information
> do others have with regards to the surrounding dependencies.
> Nouveau mailing list
> Nouveau at lists.freedesktop.org
Robert Noland <rnoland at 2hip.net>
More information about the Nouveau