[Xorg-driver-geode] FreeBSD patch for xf86-video-geode 2.11.12
Martin-Éric Racine
martin-eric.racine at iki.fi
Sun Nov 13 08:45:34 PST 2011
2011/11/13 Gaetan Nadon <memsize at videotron.ca>:
> On Sun, 2011-11-13 at 16:09 +0200, Martin-Éric Racine wrote:
>
> 2011/11/13 Mart Raudsepp <leio at gentoo.org>:
>> I don't have any particular idea about the FreeBSD side of things (does
>> BSD really not have separate 64bit largefile offset handling routines?).
>
> Apparently not. 64-bit variants of everything seem to be defined via
> sys/types.h, but neither lseek or off_t seem to have any defined.
>
>> But seeing as all this patch really does, is disable z4l code if host is
>> bsd, then we could very easily go one step further and provide a
>> AC_ARG_ENABLE or AC_ARG_WITH (whichever is more appropriate here) option
>
> I was going to propose that next. Even if it "can be built", it does not
> "have to be built". So --enable-z4l (or ztv if more descriptive) would be
> added on the command line for system builders who do wish to have this
> feature. Based on your comments, it looks like it would be disabled by
> default.
Please note that the 64-bit function equivalents are needed to compile
the Geode driver on FreeBSD, regardless of whether ztv is included or
not. At this much I understood from Arrigo's mail, last time he tried
submitting a patch.
> Unrelated here, just my opinion. Having done a bit of googling, it looks
> like there are more OS or linux flavors where Geode is used. I saw this
> board used in the industry as an embedded PC. I noticed Gentoo builds on
> Geode. More users is always good. That means writing more portable code and
> revisiting some assumptions.
It has mostly been used on Linux, but there was demand also on the BSD
side. AFAIK they got around implementing platform device support in
their kernels, but I never heard of any patch for the X driver.
Martin-Éric
More information about the Xorg-driver-geode
mailing list