Re: Building wsfb X server for pmax
David Brownlee <[email protected]> Fri, 3 Dec 2021 17:04:48 +0000
| Newsgroups | gmane.os.netbsd.devel.x11 |
|---|---|
| Message-ID | <CAGN_6pYQ2J8JbTZxL5Vtscbodx6HU5QY6=9dsgtn0VvfzsuVKQ@mail.gmail.com> |
I had issues building X with xorg-server 1.20, but adjusting
bsd.own.mk to use 1.10 the same as vax everything built fine (will
come back to that).
Of course cfb.c didn't implement WSDISPLAYIO_GET_FBINFO, but after
cargo-culting that from another driver, X started up fine :)
Would it make sense to have a check through other rasops_info using
drivers and check if they have a case for WSDISPLAYIO_GET_FBINFO? - I
notice that quite a few others don't...
David
--- sys/dev/tc/cfb.c 7 Aug 2021 16:19:16 -0000 1.65
+++ sys/dev/tc/cfb.c 3 Dec 2021 16:59:28 -0000
@@ -377,6 +377,11 @@
case WSDISPLAYIO_PUTCMAP:
return set_cmap(sc, (struct wsdisplay_cmap *)data);
+
+ case WSDISPLAYIO_GET_FBINFO: {
+ struct wsdisplayio_fbinfo *fbi = data;
+ return wsdisplayio_get_fbinfo(sc->sc_ri, fbi);
+ }
case WSDISPLAYIO_SVIDEO:
turnoff = *(int *)data == WSDISPLAYIO_VIDEO_OFF;
On Tue, 30 Nov 2021 at 06:00, Michael <[email protected]> wrote:
>
> Hello,
>
> On Mon, 29 Nov 2021 15:30:37 +0000
> David Brownlee <[email protected]> wrote:
>
> > Someone asked on port-pmax about a X server for recent releases. Given
> > pmax has some of the same hardware as vax, and vax builds wsfb X
> > servers, would it be simple enough to add wsfb X servers to the pmax
> > build?
>
> Building Xorg with just wsfb wouldn't be difficult at all.
>
> have fun
> Michael