Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: graphic drivers and simplefb
On Wed, Apr 04, 2018 at 07:16:30PM -0300, Jared McNeill wrote:
> > >
> > > You'll want to add FDT_CONSOLE support to your DE driver as well.
> >
> > For this I have a problem: allwinner,simple-framebuffer isn't specific
> > enough. At the time FDT_CONSOLE is called we don't know which variant of
> > debe we have, so we don't if we'll can handle it.
> > So I choose a way which allows fallback to simplefb when needed
> > (and actually it's needed on all but a10 and a20).
>
> You could walk the OF tree looking for a compatible device. We could add a
> helper to ofw_subr.c for this.
I guess this should work.
I'll try this tomorow.
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index