Initial Haiku support
Eric Engestrom
eric.engestrom at imgtec.com
Mon May 15 11:06:27 UTC 2017
On Saturday, 2017-05-06 11:54:52 +0000, James Taylor wrote:
> Hello Everyone,
>
> I'm mentoring Haiku's GSoC project for porting DRM to Haiku
> (www.haiku-os.org). Since my student will be doing the bulk of the
> work on the DRM kernel drivers proper, I decided to start looking at
> some of the other packages that we'll have to port, the first being
> libDRM. Seeing as libpciaccess is a dependency and it hasn't been
> ported yet, I've gone ahead and prepared a patch that allows it to
> build on Haiku. Please review and if possible merge. Seeing as I don't
> really have a way to test it right now, there may be additional
> patches in the future to tweak the library to work for us. Please feel
> free to contact me with any questions or comments via email or on
> Freenode, my nick is Duggan.
>
> Thank you.
If you could send your next patches using `git send-email`, it would
make it easier (and thus quicker) for people to review them :)
I had a quick look, and it won't have any effect on non-haiku platforms,
so it should be fine to land, whatever state the haiku bit is.
Acked-by: Eric Engestrom <eric.engestrom at imgtec.com>
You are missing the build-system bits to integrate your code, however.
Something like this?
----8<----
diff --git a/src/Makefile.am b/src/Makefile.am
index 3a46a85..96d9786 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -46,6 +46,10 @@ OS_SUPPORT = openbsd_pci.c
# VGA Arbiter code is included in openbsd_pci.c
endif
+if HAIKU
+OS_SUPPORT = haiku_pci.c
+endif
+
if SOLARIS
OS_SUPPORT = solx_devfs.c pci_tools.h
VGA_ARBITER = common_vgaarb_stub.c
---->8----
More information about the xorg-devel
mailing list