Re: Color support for wsfb/Amiga

Jukka Andberg <[email protected]> Thu, 23 Jun 2022 19:19:49 +0300
Newsgroups gmane.os.netbsd.devel.x11,gmane.os.netbsd.ports.amiga,gmane.os.netbsd.ports.luna68k
Message-ID <[email protected]>
Rin Okuyama wrote Thu, 23 Jun 2022 15:05:13 +0900:
> Excellent! It works just fine on my A1200:
> 
> https://twitter.com/LabDrunker/status/1539847364730822656

Good to hear, thanks for testing.
 
> It would be great if we can support color X server on luna68k, which
> also has "planer" framebuffer.

There is a variety of other planar conversion routines in the shadow
directory, maybe one of them would work.
 
> A minor concern: With your patch, WSDISPLAYIO_GTYPE ioctl becomes
> mandatory even if the driver supports WSDISPLAYIO_GET_FBINFO. But,
> we can probably find broken drivers during beta test for netbsd-10,
> if such a driver is actually present/used ;)

In my understanding WSDISPLAYIO_GTYPE was already mandatory since it
is called unconditionally from another place in the driver (WsfbScreenInit).

--jukka