tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building wsfb X server for pmax



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 <macallan%netbsd.org@localhost> wrote:
>
> Hello,
>
> On Mon, 29 Nov 2021 15:30:37 +0000
> David Brownlee <abs%absd.org@localhost> 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


Home | Main Index | Thread Index | Old Index