2007-06-23 11:00:13

by Michal Januszewski

[permalink] [raw]
Subject: [PATCH 0/4] fbdev: uvesafb

uvesafb is a generic driver for VBE2+ compliant video cards; an enhanced
version of vesafb and a direct successor of vesafb-tng [1].

uvesafb uses a userspace helper application (v86d, [2]) to run the x86
Video BIOS code. This makes it possible to include in uvesafb all the
standard features (refresh rate control, video mode changes etc) that
are missing from vesafb without resorting to ugly hacks such as the ones
used in [1]. The current implementation of v86d can use either LRMI or
x86emu to run the BIOS code and supports both x86 and x86_64.

[1] http://dev.gentoo.org/~spock/projects/vesafb-tng/
[2] http://dev.gentoo.org/~spock/projects/uvesafb/

Best regards.
--
Michal Januszewski JID: [email protected]
Gentoo Linux Developer http://people.gentoo.org/spock


2007-06-23 12:04:28

by Arnd Bergmann

[permalink] [raw]
Subject: Re: [PATCH 0/4] fbdev: uvesafb

On Saturday 23 June 2007, Michal Januszewski wrote:
>  The current implementation of v86d can use either LRMI or
> x86emu to run the BIOS code and supports both x86 and x86_64.

Is there a fundamental reason why you can't also run it on
non-x86 machines, or has this simply not been tested so far?

Arnd <><

2007-06-23 12:30:32

by Michal Januszewski

[permalink] [raw]
Subject: Re: [PATCH 0/4] fbdev: uvesafb

On Sat, Jun 23, 2007 at 02:04:09PM +0200, Arnd Bergmann wrote:
> On Saturday 23 June 2007, Michal Januszewski wrote:
> >  The current implementation of v86d can use either LRMI or
> > x86emu to run the BIOS code and supports both x86 and x86_64.
>
> Is there a fundamental reason why you can't also run it on
> non-x86 machines, or has this simply not been tested so far?

AFAIK it should be possible to get it to work on non-x86. One would
have to implement the IO functions for x86emu and mmap the Video BIOS,
both of which should be relatively easy tasks. I don't however have
direct access to hardware other than x86(_64) and thus haven't had a
chance to write such code and test it.

Best regards,
Michal

2007-06-26 11:14:41

by Jonathan McDowell

[permalink] [raw]
Subject: Re: [PATCH 0/4] fbdev: uvesafb

On Sat, Jun 23, 2007 at 12:49:20PM +0200, Michal Januszewski wrote:
> uvesafb is a generic driver for VBE2+ compliant video cards; an enhanced
> version of vesafb and a direct successor of vesafb-tng [1].
>
> uvesafb uses a userspace helper application (v86d, [2]) to run the x86
> Video BIOS code. This makes it possible to include in uvesafb all the
> standard features (refresh rate control, video mode changes etc) that
> are missing from vesafb without resorting to ugly hacks such as the ones
> used in [1]. The current implementation of v86d can use either LRMI or
> x86emu to run the BIOS code and supports both x86 and x86_64.

Have you considered using libx86[1] in v86d? It looks very similar to
what you have at present and there are plans to extend it to non
x86(_64) archs.

J.

[1] http://www.codon.org.uk/~mjg59/libx86/

--
] http://www.earth.li/~noodles/ [] noodles is criminal [
] PGP/GPG Key @ the.earth.li [] [
] via keyserver, web or email. [] [
] RSA: 4DC4E7FD / DSA: 5B430367 [] [

2007-06-30 16:39:27

by Michal Januszewski

[permalink] [raw]
Subject: Re: [PATCH 0/4] fbdev: uvesafb

On Tue, Jun 26, 2007 at 11:42:41AM +0100, Jonathan McDowell wrote:

> Have you considered using libx86[1] in v86d? It looks very similar to
> what you have at present and there are plans to extend it to non
> x86(_64) archs.

It looks like an interesting solution and it is indeed similar to what
I'm currently using. I'll consider switching to it in the next version
of v86d.

Thanks,
Michal