From: Krzysztof Smiechowicz <deadwood-5tc4TXWwyLM@public.gmane.org>
To: "\"C. Bergström\"" <cbergstrom-Hl0AACgZOF5l57MIdRCFDg@public.gmane.org>
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: Porting nouveau/ttm/drm to FreeBSD/OpenSolaris
Date: Sat, 23 Jan 2010 15:20:46 +0100 [thread overview]
Message-ID: <4B5B05BE.3080606@wp.pl> (raw)
In-Reply-To: <4B5ACE8C.40907-Hl0AACgZOF5l57MIdRCFDg@public.gmane.org>
C. Bergström pisze:
> Hi all,
>
Hi Christopher
> nouveau itself should be relatively easy to port, but what information
> do others have with regards to the surrounding dependencies.
I can give you some information my work porting the nouveau/drm/ttm to
AROS (http://www.aros.org/). AROS is AmigaOS clone and it's very very
very far in terms of API and concepts from Linux kernel so I think it's
a good example to talk about portability.
Currently my work is only focused on 3D part, not touching the 2D part
at all. Generally it took me about 1,5 months of evenings to port the
current (sources from December 2009) nouvea/drm/ttm/libdrm/nouvea
gallium driver to AROS (I would call it alpha version of the port
though) however I have never been working with graphics or graphics
drivers before.
In terms of portability I would rate the modules in following order
(starting from most portable)
nouveau gallium 3D drivers
nouveau NV0X-NV40 drm drivers
libdrm
nouveau "common code" (files named nouveau_XXX)
drm "common code" (files named drm_XXX)
nouveau NV50 drm driver
ttm
Basically the only module that does not seem to be specially written
with portability in mind and has a lot of Linux dependencies it ttm. I
implemented some of those dependencies in my AROS port (reference
counting, atomics, spin locks) and disabled some others (swapping
support, work queues)
If you are interested in any specific topic, please let me know :)
Best regards,
Krzysztof
next prev parent reply other threads:[~2010-01-23 14:20 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-06 5:32 Removal of Non-KMS support Ben Skeggs
2010-01-06 20:59 ` Francisco Jerez
[not found] ` <87iqbfhrvr.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2010-01-06 22:16 ` Maarten Maathuis
[not found] ` <6d4bc9fc1001061416h39a64a13r7b2d5c4efde1f868-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-06 22:20 ` Maarten Maathuis
2010-01-06 22:20 ` Ben Skeggs
2010-01-13 21:22 ` Xavier
[not found] ` <91752841001131322s6b899029pb8dac24c2e18b1ca-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-13 22:24 ` Ben Skeggs
2010-01-06 22:58 ` Pekka Paalanen
[not found] ` <20100107005827.466c968e-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>
2010-01-06 23:21 ` Ben Skeggs
2010-01-07 1:59 ` Robert Noland
[not found] ` <1262829587.2486.42.camel-it3iGQysvyiGwK4wanZbFg@public.gmane.org>
2010-01-07 8:56 ` Maarten Maathuis
[not found] ` <6d4bc9fc1001070056x7e9e9a04pef692dde5d5eced9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-07 10:23 ` Ben Skeggs
2010-01-07 11:45 ` Maarten Maathuis
2010-01-23 10:25 ` Porting nouveau/ttm/drm to FreeBSD/OpenSolaris "C. Bergström"
[not found] ` <4B5ACE8C.40907-Hl0AACgZOF5l57MIdRCFDg@public.gmane.org>
2010-01-23 14:20 ` Krzysztof Smiechowicz [this message]
[not found] ` <4B5B05BE.3080606-5tc4TXWwyLM@public.gmane.org>
2010-01-23 14:46 ` "C. Bergström"
2010-01-23 16:15 ` Robert Noland
2010-01-23 20:43 ` Stephane Marchesin
[not found] ` <6a89f9d51001231243o1cc0899aw4338c121e4af59b1-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-23 21:33 ` "C. Bergström"
2010-01-23 21:34 ` Dave Airlie
2010-01-07 19:49 ` Removal of Non-KMS support Xavier
[not found] ` <91752841001071149u155f3e22veb91b07167f60f36-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-07 22:09 ` Ben Skeggs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B5B05BE.3080606@wp.pl \
--to=deadwood-5tc4txwwylm@public.gmane.org \
--cc=cbergstrom-Hl0AACgZOF5l57MIdRCFDg@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.