Feature Freeze?
Hi,
I believe it's time to finalize what is needed/not needed for the framebuffer framework:
1. Text mode support?
2. console resizing using fbset (besides stty)?
3. support for unloading of fbcon if modular?
4. driver specified placement of buffers - for putcs method?
5. flexible logo placement/overlayed logo?
6. generic console display rotation?
7. Anything else?
8. feature freeze deadline?
If you think any of the above is essential, useful, bloat, etc, please say so. If you think there are features in the present code that needs to be removed, make it known.
Tony
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 4 lines · Antonino Daplas
I believe it's time to finalize what is needed/not needed for the framebuffer framework:
1. Text mode support?
Required by at least davem and petr
Quoted 1 line
2. console resizing using fbset (besides stty)?
Nice, if it's not too much work.
Quoted 4 lines
3. support for unloading of fbcon if modular?
4. driver specified placement of buffers - for putcs method?
5. flexible logo placement/overlayed logo?
6. generic console display rotation?
Low priority, IMHO.
Quoted 1 line
7. Anything else?
0. Update all drivers
Absolutely required
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 11 lines · Geert Uytterhoeven
Quoted 4 lines · Antonino Daplas
I believe it's time to finalize what is needed/not needed for the framebuffer framework:
1. Text mode support?
Required by at least davem and petr
Quoted 1 line
2. console resizing using fbset (besides stty)?
Nice, if it's not too much work.
Adding this shouldn't be too hard.
Quoted 2 lines
Quoted 2 lines
3. support for unloading of fbcon if modular?
So we just make fbcon permanently loaded unconditionally? The current code allows 'rmmod fbcon', but it will freeze the system.
Quoted 3 lines
0. Update all drivers
Absolutely required
Yes, which is why we need a feature freeze, so we can spend the rest of the period on driver updating and bug fixing.
Tony
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 3 lines
So we just make fbcon permanently loaded unconditionally? The current code allows 'rmmod fbcon', but it will freeze the system.
Because no other console takes over. This is not a easy problem to solve. Which driver takes over when we switch from one console driver to another.
Quoted 4 lines
Quoted 1 line
Absolutely required
Yes, which is why we need a feature freeze, so we can spend the rest of the period on driver updating and bug fixing.
I think we pretty much are there.
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 7 lines · James Simmons
Quoted 3 lines
So we just make fbcon permanently loaded unconditionally? The current code allows 'rmmod fbcon', but it will freeze the system.
Because no other console takes over. This is not a easy problem to solve. Which driver takes over when we switch from one console driver to another.
I have already a working fbcon module unloading code in my local copy. The way it works is like this.
1. If take_over_console() is called with the "default" flag clear, it behaves as usual. It takes only a subset of console numbers but "conswitchp" still points to the console driver that was loaded at boot time.
2. If take_over_console() is called with the "default" flag set, it will replace "conswitchp", but the original value of "conswitchp" is saved.
3. If take_over_console() with the "default" flag set is called again, it will fail. It's not logical to just overwrite "conswitchp" over and over again.
4. If give_up_console() is called and if the previous take_over_console() did not overwrite "conswitchp", it proceeds as usual.
5. If give_up_console() is called and if the previous take_over_console() overwrote "conswitchp", give_up_console() will also call take_over_console() but using the saved "conswitchp".
I can then load fbdev and fbcon as modules. If I "rmmod fbcon", I get back again to vgacon/dummycon/whatever. I can then load and unload different fbdev's and load fbcon at will.
If I want to load mdacon, it will still work on top of fbcon, because mdacon calls take_over_console() with the "default" flag cleared.
If you need to load other console drivers, then fbcon must be unloaded first. This is because the rest of the console drivers call take_over_console() with the "default" flag set.
I can already load/unload fbcon using vga16fb, rivafb or i810fb as the backend at will. Drivers that wish to allow fbcon unloading can define the xxxfb_release() method. They can choose to save/restore the state (if they have a vga core and running as primary), or just define the xxfb_release method as a dummy (if no vga core or running as secondary).
What do you think? Any suggestions to improve this (multiple console drivers for instance)? I would rather have the above, or disallow unloading, than having the whole console system freeze on me.
Tony
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 41 lines
I have already a working fbcon module unloading code in my local copy. The way it works is like this.
1. If
take_over_console()is called with the "default" flag clear, it behaves as usual. It takes only a subset of console numbers but "conswitchp" still points to the console driver that was loaded at boot time.2. If
take_over_console()is called with the "default" flag set, it will replace "conswitchp", but the original value of "conswitchp" is saved.3. If
take_over_console()with the "default" flag set is called again, it will fail. It's not logical to just overwrite "conswitchp" over and over again.4. If
give_up_console()is called and if the previoustake_over_console()did not overwrite "conswitchp", it proceeds as usual.5. If
give_up_console()is called and if the previoustake_over_console()overwrote "conswitchp",give_up_console()will also calltake_over_console()but using the saved "conswitchp".I can then load fbdev and fbcon as modules. If I "rmmod fbcon", I get back again to vgacon/dummycon/whatever. I can then load and unload different fbdev's and load fbcon at will.
If I want to load mdacon, it will still work on top of fbcon, because mdacon calls
take_over_console()with the "default" flag cleared.If you need to load other console drivers, then fbcon must be unloaded first. This is because the rest of the console drivers call
take_over_console()with the "default" flag set.I can already load/unload fbcon using vga16fb, rivafb or i810fb as the backend at will. Drivers that wish to allow fbcon unloading can define the
xxxfb_release()method. They can choose to save/restore the state (if they have a vga core and running as primary), or just define thexxfb_releasemethod as a dummy (if no vga core or running as secondary).
Quoted 3 lines
What do you think? Any suggestions to improve this (multiple console drivers for instance)? I would rather have the above, or disallow unloading, than having the whole console system freeze on me.
Send me the patch. I like to have this support. As for multiple console support. Well that will just be nasty. Nothing we can do about it.
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
Quoted 4 lines
Quoted 2 lines
1. Text mode support?
Required by at least davem and petr
Just Petr. I'm working to seperate the text code out into a matroxcon.c file. Needs alot more work tho.
Quoted 3 lines
Quoted 1 line
2. console resizing using fbset (besides stty)?
Nice, if it's not too much work.
:-( I hope to improve fbcon to handle this.
Quoted 3 lines
0. Update all drivers
Absolutely required
Its getting there. Drivers not ported are:
68328fb.cS3triofb.camifb.catafb.cclgenfb.ccyber2000fb.ccyberfb.cimsttfb.c <- I have a nearly done driver. The old driver doesn't work
on ix86. I tried it. Oh wells.leofb.cpm2fb.cpm3fb.cpvr2fb.cretz3fb.csun3fb.cvalkyriefb.cvirgefb.c
Many of these drivers have been in state of code rotte for a long time :-(
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 9 lines · James Simmons
Quoted 3 lines
0. Update all drivers
Absolutely required
Its getting there. Drivers not ported are:
68328fb.cS3triofb.camifb.c
You can consider amifb done. I haven't sent it in yet, because I have a few more cleanups to do.
Quoted 1 line
atafb.c
This one is tricky, since it needs new copyrect/fillrect/imageblit code for Atari-style interleaved bitplanes. But since Atari is in a bad shape anyway it's not that important.
Quoted 6 lines
clgenfb.ccyber2000fb.ccyberfb.cimsttfb.c<- I have a nearly done driver. The old driver doesn't work
on ix86. I tried it. Oh wells.leofb.c
Davem will probably take care of leofb.
Quoted 5 lines
pm2fb.cpm3fb.cpvr2fb.cretz3fb.csun3fb.c
Sun3fb will probably be replaced with the sbuslib stuff Davem wrote for SPARC.
Quoted 2 lines
valkyriefb.cvirgefb.c
The others cannot be that difficult to port. Most of them are unaccelerated cfb-style cards.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 5 lines · James Simmons
Quoted 4 lines
Quoted 2 lines
1. Text mode support?
Required by at least davem and petr
Quoted 9 lines
Just Petr. I'm working to seperate the text code out into a
matroxcon.cfile. Needs alot more work tho.Quoted 3 lines
Quoted 1 line
2. console resizing using fbset (besides stty)?
Nice, if it's not too much work.
:-( I hope to improve fbcon to handle this.
If you're really against using fbset to resize the console, then the first step is to protect the console from the "dangers" of fbset. Secondly, we can have fbcon_resize() validate the mode instead of just blindly calling fb_set_var(). If it's not valid, then it can also fetch a working mode for it. The user can then fine tune the timings using fbset afterwards.
So, do we allow fbcon to handle mode validating and fetching, or do we just leave all this to fbdev? At least let's bring out some ideas on how to go about doing this. Having a working idea, even if dumb, should interest other developers in contributing.
Tony
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Subject: Re: [Linux-fbdev-devel] Feature Freeze? Date: gio, mar 06, 2003 at 09:18:07 +0800
Quoted 15 lines · Antonino Daplas
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
2. console resizing using fbset (besides stty)?
Nice, if it's not too much work.
:-( I hope to improve fbcon to handle this.
If you're really against using fbset to resize the console, then the first step is to protect the console from the "dangers" of fbset. Secondly, we can have
fbcon_resize()validate the mode instead of just blindly callingfb_set_var(). If it's not valid, then it can also fetch a working mode for it. The user can then fine tune the timings using fbset afterwards.
Quoted 4 lines
So, do we allow fbcon to handle mode validating and fetching, or do we just leave all this to fbdev? At least let's bring out some ideas on how to go about doing this. Having a working idea, even if dumb, should interest other developers in contributing.
I see there currently is much activity on the list. I would like to present the point of view of a heavy framebuffer user: I write multimedia code for artists, and I generally generate video via the framebuffer layer, and trusted old matrox cards (from the Millennium II to the G550). The general process is:
- open the framebuffer unit
- FBIOGET_VSCREENINFO
- change the appropriate values in fb_var_screeninfo
- FBIOPUT_VSCREENINFO
- mmap
- happily write pixels to the memory area
This, multiplied for all the video heads that I use within the same program (up to 5 per PC, up to now, *including* the console screen - in this case I control the machine from a network connection).
I am especially in need to change the BPP value (often using 16BPP mode), and in a couple of occasions (the latest 2 weeks ago) I had to feed the output of old G200's to large monitors who are only capable of TV resolution. This means setting the framebuffer to 768x576 (PAL) and *interlaced*. The framebuffer model that still survives in 2.4 allows me to obtain all this.
I am not much familiar with all the terminology that is used for the new layer. Actually, this framebuffer revolution is what keeps me from enjoying (!) the kernel bleeding edge, as I used to do since almost 10 years ago.
Can I poll the list's huge knowledge to find out if and how I can obtain the same result with the new layer?
Thanks a lot in advance...
Carlo
Signature · 10 lines
* Se la Strada e la sua Virtu' non fossero state messe da parte, * K * Carlo E. Prelz - [email protected] che bisogno ci sarebbe * di parlare tanto di amore e di rettitudine? (Chuang-Tzu) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 6 lines · Carlo E. Prelz
I see there currently is much activity on the list. I would like to present the point of view of a heavy framebuffer user: I write multimedia code for artists, and I generally generate video via the framebuffer layer, and trusted old matrox cards (from the Millennium II to the G550). The general process is:
Quoted 6 lines
- open the framebuffer unit
-FBIOGET_VSCREENINFO
- change the appropriate values infb_var_screeninfo
-FBIOPUT_VSCREENINFO
- mmap
- happily write pixels to the memory area
All of the above should still work with the 2.5. Care was taken to prevent user application breakage.
Quoted 11 lines
This, multiplied for all the video heads that I use within the same program (up to 5 per PC, up to now, *including* the console screen - in this case I control the machine from a network connection).
I am especially in need to change the BPP value (often using 16BPP mode), and in a couple of occasions (the latest 2 weeks ago) I had to feed the output of old G200's to large monitors who are only capable of TV resolution. This means setting the framebuffer to 768x576 (PAL) and *interlaced*. The framebuffer model that still survives in 2.4 allows me to obtain all this.
You can still do it for the 2.5, except that the matroxfb is not ported yet.
Quoted 9 lines
I am not much familiar with all the terminology that is used for the new layer. Actually, this framebuffer revolution is what keeps me from enjoying (!) the kernel bleeding edge, as I used to do since almost 10 years ago.
Can I poll the list's huge knowledge to find out if and how I can obtain the same result with the new layer?
You still can, in general, use the framebuffer as you would use it in the 2.2.- 2.4 versions. The main difference is console window resizing. As you probably know, in 2.4, resizing was done through the fbdev layer and then the information is transmitted to the console. In 2.5, it is currently the opposite way, from the console to fbdev. The only application that I know of that is able to do that is stty, which in its current incarnation has very limited capability. However, you can still use fbset to change other parameters (color depth, acceleration, etc), anything that will not affect the window size.
So the debate really is, should fbset support for console resizing be reimplemented? Or should console resizing through stty be made more powerful, at least to create a video mode that is usable, and then just use fbset later on to fine tune the new video mode? The former is easy, the latter is saner but more difficult to code.
The matroxfb on the other hand, is the most complicated fb driver around, so it is perfectly understandable that rewriting the driver for the 2.5 will take some time. Temporarily, you can use Petr's patches until it is ported over to 2.5.
ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/matroxfb-2.5.63.gz
The new layer may not produce something tangible in terms of user experience (except perhaps for a faster console), but it should pave the way for better things in the future.
Tony
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 5 lines
Secondly, we can have
fbcon_resize()validate the mode instead of just blindly callingfb_set_var(). If it's not valid, then it can also fetch a working mode for it. The user can then fine tune the timings using fbset afterwards.
But fb_set_var does call teh check_var routine. That is why a fb_set_var in fbcon_resize instead of just calling the set_par routine.
Quoted 4 lines
So, do we allow fbcon to handle mode validating and fetching, or do we just leave all this to fbdev? At least let's bring out some ideas on how to go about doing this. Having a working idea, even if dumb, should interest other developers in contributing.
That should be done by the low level driver not fbcon.
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
Quoted 7 lines · Antonino Daplas
Hi,
I believe it's time to finalize what is needed/not needed for the framebuffer framework:
1. Text mode support?
Would this work also on arches which don't traditionnaly do text mode ? Like ppc for example.
Quoted 1 line
2. console resizing using fbset (besides stty)?
What about dynamic multi-head support ?
Quoted 1 line
7. Anything else?
Well, what is the exact status of mult-head and multi-seat ? It is supposed to work, but i did not (yet) experience it myself, mainly because non of my graphic cards are yet supported. One point i would like to see addressed is the ability to share one framebuffer and have both heads be separate viewports into this same framebuffer. This means setting a framebuffer with a stride equal to the sum of both's head resolution and having each head display a subset of it. This would also include having one head be a mirror of the other and other such things. This feature and resizing may cause problems though.
Quoted 1 line
8. feature freeze deadline?
This would be for fbdev deature freeze, right, not for the drivers ?
BTW, i will no more be able to work on pm3fb, since i just recently noticed that my nice AGP8 supporting motherboard doesn't accept my Appian Jeronimo 2000 board. :(((
Friendly,
Sven Luther
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 11 lines · Sven Luther
Quoted 7 lines · Antonino Daplas
Hi,
I believe it's time to finalize what is needed/not needed for the framebuffer framework:
1. Text mode support?
Would this work also on arches which don't traditionnaly do text mode ? Like ppc for example.
Yes, pixel-based drawing is still the default. It's only for drivers (matrox and sbus) where it might be needed.
Quoted 8 lines
Quoted 2 lines
2. console resizing using fbset (besides stty)?
What about dynamic multi-head support ?
Quoted 1 line
7. Anything else?
Well, what is the exact status of mult-head and multi-seat ? It is
If you mean one card with multiple heads, that will need driver-specific support.
Quoted 9 lines
supposed to work, but i did not (yet) experience it myself, mainly because non of my graphic cards are yet supported. One point i would like to see addressed is the ability to share one framebuffer and have both heads be separate viewports into this same framebuffer. This means setting a framebuffer with a stride equal to the sum of both's head resolution and having each head display a subset of it. This would also include having one head be a mirror of the other and other such things. This feature and resizing may cause problems though.
Because of the massive rewrite, there wasn't really enough time to add major feature sets to the framework. Most of the effort was spent on bug fixing, cleaning up, and speeding up the code (to justify the rewrite).
It does have one benefit though, the newer code should make it easier to add an infrastructure on top of fbdev, such as xinerama-style support. But this will be in the future.
Quoted 4 lines
Quoted 1 line
8. feature freeze deadline?
This would be for fbdev deature freeze, right, not for the drivers ?
Yes, to give people time to port their drivers.
Quoted 4 lines
BTW, i will no more be able to work on pm3fb, since i just recently noticed that my nice AGP8 supporting motherboard doesn't accept my Appian Jeronimo 2000 board. :(((
That's too bad :-(
Tony
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 8 lines · Antonino Daplas
Quoted 7 lines · Sven Luther
Quoted 6 lines · Antonino Daplas
Hi,
I believe it's time to finalize what is needed/not needed for the framebuffer framework:
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
1. Text mode support?
Would this work also on arches which don't traditionnaly do text mode ? Like ppc for example.
Yes, pixel-based drawing is still the default. It's only for drivers (matrox and sbus) where it might be needed.
And do you think there is a chance of standard vgacon working on a ppc board ? I have a pegasos powerpc/pop based board, and its OF use a x86 emulator to boot the card into vga textmode. matroxfb is broken on it last i tried, and radeonfb was not uptodate in the kernel that was provided, and i there is problems with other fbdevs also, so it would be nice if it was possible to use vgacon on such hardware, until the fbdevs are fixed, but it is a bit hard to fix things without a working console.
Quoted 10 lines
Quoted 7 lines
Quoted 1 line
2. console resizing using fbset (besides stty)?
What about dynamic multi-head support ?
Quoted 1 line
7. Anything else?
Well, what is the exact status of mult-head and multi-seat ? It is
If you mean one card with multiple heads, that will need driver-specific support.
I thought that the new API, separating the fbcon layer from the fbdev drivers would add support for this more easily. I guess it would be easy for the Appian Jeronimo 2000 board, which has two permedia3 chips, and thus can be seen as two separate devices. Cards with two ramdacs per chip, like the G400, the later radeon's and most recent cards would need driver level support, that is understandable, but is all there for fbcon to take advantage of it ? What about multi-seat, with two full consoles, with mouse and keyboard for each ?
Quoted 10 lines
Quoted 9 lines
supposed to work, but i did not (yet) experience it myself, mainly because non of my graphic cards are yet supported. One point i would like to see addressed is the ability to share one framebuffer and have both heads be separate viewports into this same framebuffer. This means setting a framebuffer with a stride equal to the sum of both's head resolution and having each head display a subset of it. This would also include having one head be a mirror of the other and other such things. This feature and resizing may cause problems though.
Quoted 4 lines
Because of the massive rewrite, there wasn't really enough time to add major feature sets to the framework. Most of the effort was spent on bug fixing, cleaning up, and speeding up the code (to justify the rewrite).
There is discution about this currently in the DRI/xfree86 mailing list, and i am facing this also in my xfree86 driver. Maybe for the next developpment cycle then. I thought that one of the reasons of the rewrite was to provide easier multi-head and multi-seat support though.
Quoted 3 lines
It does have one benefit though, the newer code should make it easier to add an infrastructure on top of fbdev, such as xinerama-style support. But this will be in the future.
Mmm, I don't know if there is really a point to this, are there really all that much applications which do xinerama-like things on top of fbdev ? I rather thought that more higlevel userland apps would be doing this. like either xfree86 with chip-specific drivers or fbdev drivers, or directfb or something such.
What i think would be nice is to be able to separate the framebuffer setup (where we write to) from the dac/dp output to the monitors, and when we outport this to the higher level apps, we export them separatedly. This way X drivers can use one huge framebuffer, with DRI enabled to render on the framebuffer, and enable arbitrary setting of viewports into this framebuffer, with eventual scaling or other such stuff. And fbcon could then easily use two viewports into the same framebuffer to do dual-head/dual-seat. Overlays (for cursor and/or video) would be linked to the monitor outputs and not the framebuffer.
But maybe it is too late for this, good ideas for 2.7.x/3.1.x or whatever it will be named though, together with a framebuffer/agp memory management scheme which would be common to DRI, fbdev and X, and would reside in the drm module.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
8. feature freeze deadline?
This would be for fbdev deature freeze, right, not for the drivers ?
Yes, to give people time to port their drivers.
:)))
Quoted 5 lines
Quoted 3 lines
BTW, i will no more be able to work on pm3fb, since i just recently noticed that my nice AGP8 supporting motherboard doesn't accept my Appian Jeronimo 2000 board. :(((
That's too bad :-(
I will see if i get another board someday, but it will not be in the immediate future. And it refused to even boot in the pegasos board.
Friendly,
Sven Luther
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 14 lines · Sven Luther
Quoted 5 lines · Antonino Daplas
Quoted 4 lines · Sven Luther
Quoted 3 lines · Antonino Daplas
I believe it's time to finalize what is needed/not needed for the framebuffer framework:
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
1. Text mode support?
Would this work also on arches which don't traditionnaly do text mode ? Like ppc for example.
Yes, pixel-based drawing is still the default. It's only for drivers (matrox and sbus) where it might be needed.
Quoted 8 lines
And do you think there is a chance of standard vgacon working on a ppc board ? I have a pegasos powerpc/pop based board, and its OF use a x86 emulator to boot the card into vga textmode. matroxfb is broken on it last i tried, and radeonfb was not uptodate in the kernel that was provided, and i there is problems with other fbdevs also, so it would be nice if it was possible to use vgacon on such hardware, until the fbdevs are fixed, but it is a bit hard to fix things without a working console.
If your BIOS initializes your graphics card to VGA text mode, vgacon should work. The same is true for vga16fb.
Vga16fb works on the S3 in my LongTrail, iff I first run a BIOS emulator to initialize the card to textmode. Never tried vgacon, since the BIOS emulator is a userspace program and vga16fb can be modular.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 24 lines · Geert Uytterhoeven
Quoted 14 lines · Sven Luther
Quoted 5 lines · Antonino Daplas
Quoted 4 lines · Sven Luther
Quoted 3 lines · Antonino Daplas
I believe it's time to finalize what is needed/not needed for the framebuffer framework:
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
1. Text mode support?
Would this work also on arches which don't traditionnaly do text mode ? Like ppc for example.
Yes, pixel-based drawing is still the default. It's only for drivers (matrox and sbus) where it might be needed.
Quoted 8 lines
And do you think there is a chance of standard vgacon working on a ppc board ? I have a pegasos powerpc/pop based board, and its OF use a x86 emulator to boot the card into vga textmode. matroxfb is broken on it last i tried, and radeonfb was not uptodate in the kernel that was provided, and i there is problems with other fbdevs also, so it would be nice if it was possible to use vgacon on such hardware, until the fbdevs are fixed, but it is a bit hard to fix things without a working console.
Quoted 2 lines
If your BIOS initializes your graphics card to VGA text mode, vgacon should work. The same is true for vga16fb.
It is just a configuration thingy then ?
Quoted 3 lines
Vga16fb works on the S3 in my LongTrail, iff I first run a BIOS emulator to initialize the card to textmode. Never tried vgacon, since the BIOS emulator is a userspace program and vga16fb can be modular.
Mmm, but since the emulator is run in OF, this would be ok ?
Do you think that vesafb would work also ?
Friendly,
Sven Luther
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 25 lines · Sven Luther
Quoted 24 lines · Geert Uytterhoeven
Quoted 22 lines · Sven Luther
Quoted 5 lines · Antonino Daplas
Quoted 4 lines · Sven Luther
Quoted 3 lines · Antonino Daplas
I believe it's time to finalize what is needed/not needed for the framebuffer framework:
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
1. Text mode support?
Would this work also on arches which don't traditionnaly do text mode ? Like ppc for example.
Yes, pixel-based drawing is still the default. It's only for drivers (matrox and sbus) where it might be needed.
And do you think there is a chance of standard vgacon working on a ppc board ? I have a pegasos powerpc/pop based board, and its OF use a x86 emulator to boot the card into vga textmode. matroxfb is broken on it last i tried, and radeonfb was not uptodate in the kernel that was provided, and i there is problems with other fbdevs also, so it would be nice if it was possible to use vgacon on such hardware, until the fbdevs are fixed, but it is a bit hard to fix things without a working console.
Quoted 4 lines
Quoted 2 lines
If your BIOS initializes your graphics card to VGA text mode, vgacon should work. The same is true for vga16fb.
It is just a configuration thingy then ?
Yes. Enable vgacon, and see what happens...
Quoted 5 lines
Quoted 3 lines
Vga16fb works on the S3 in my LongTrail, iff I first run a BIOS emulator to initialize the card to textmode. Never tried vgacon, since the BIOS emulator is a userspace program and vga16fb can be modular.
Mmm, but since the emulator is run in OF, this would be ok ?
Yes.
Quoted 1 line
Do you think that vesafb would work also ?
Vesafb requires the boot loader to make BIOS calls before the kernel is launched. Can you do that from U-Boot (that's your firmware, right)?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 26 lines · Geert Uytterhoeven
Quoted 25 lines · Sven Luther
Quoted 24 lines · Geert Uytterhoeven
Quoted 22 lines · Sven Luther
Quoted 5 lines · Antonino Daplas
Quoted 4 lines · Sven Luther
Quoted 3 lines · Antonino Daplas
I believe it's time to finalize what is needed/not needed for the framebuffer framework:
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
1. Text mode support?
Would this work also on arches which don't traditionnaly do text mode ? Like ppc for example.
Yes, pixel-based drawing is still the default. It's only for drivers (matrox and sbus) where it might be needed.
And do you think there is a chance of standard vgacon working on a ppc board ? I have a pegasos powerpc/pop based board, and its OF use a x86 emulator to boot the card into vga textmode. matroxfb is broken on it last i tried, and radeonfb was not uptodate in the kernel that was provided, and i there is problems with other fbdevs also, so it would be nice if it was possible to use vgacon on such hardware, until the fbdevs are fixed, but it is a bit hard to fix things without a working console.
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
If your BIOS initializes your graphics card to VGA text mode, vgacon should work. The same is true for vga16fb.
It is just a configuration thingy then ?
Yes. Enable vgacon, and see what happens...
Ok, i will try again once i get the board back, but i think i remember that i tried it already, and nothing happened.
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Vga16fb works on the S3 in my LongTrail, iff I first run a BIOS emulator to initialize the card to textmode. Never tried vgacon, since the BIOS emulator is a userspace program and vga16fb can be modular.
Quoted 8 lines
Quoted 1 line
Mmm, but since the emulator is run in OF, this would be ok ?
Yes.
Quoted 1 line
Do you think that vesafb would work also ?
Vesafb requires the boot loader to make BIOS calls before the kernel is launched. Can you do that from U-Boot (that's your firmware, right)?
No, it uses smartfirmware. I will have to look into this more, i am not all that familiar with OF, and the docs i found are not all that easy to get into.
Friendly,
Sven Luther
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 37 lines · Sven Luther
Quoted 8 lines · Antonino Daplas
Quoted 7 lines · Sven Luther
Quoted 6 lines · Antonino Daplas
Hi,
I believe it's time to finalize what is needed/not needed for the framebuffer framework:
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
1. Text mode support?
Would this work also on arches which don't traditionnaly do text mode ? Like ppc for example.
Yes, pixel-based drawing is still the default. It's only for drivers (matrox and sbus) where it might be needed.
And do you think there is a chance of standard vgacon working on a ppc board ? I have a pegasos powerpc/pop based board, and its OF use a x86 emulator to boot the card into vga textmode. matroxfb is broken on it last i tried, and radeonfb was not uptodate in the kernel that was provided, and i there is problems with other fbdevs also, so it would be nice if it was possible to use vgacon on such hardware, until the fbdevs are fixed, but it is a bit hard to fix things without a working console.
Quoted 10 lines
Quoted 7 lines
Quoted 1 line
2. console resizing using fbset (besides stty)?
What about dynamic multi-head support ?
Quoted 1 line
7. Anything else?
Well, what is the exact status of mult-head and multi-seat ? It is
If you mean one card with multiple heads, that will need driver-specific support.
Quoted 9 lines
I thought that the new API, separating the fbcon layer from the fbdev drivers would add support for this more easily. I guess it would be easy for the Appian Jeronimo 2000 board, which has two permedia3 chips, and thus can be seen as two separate devices. Cards with two ramdacs per chip, like the G400, the later radeon's and most recent cards would need driver level support, that is understandable, but is all there for fbcon to take advantage of it ? What about multi-seat, with two full consoles, with mouse and keyboard for each ?
This was one of the goals of the Ruby project, but I think it's mostly the input layer that got into the kernel.
Fbcon needs to be cleaned up, a lot. It still implements the "current console or foreground console" concept (only one console active at a time). Also, this is more of a job for linuxconsole than fbdev. I may be wrong though.
Quoted 10 lines
Quoted 3 lines
It does have one benefit though, the newer code should make it easier to add an infrastructure on top of fbdev, such as xinerama-style support. But this will be in the future.
Mmm, I don't know if there is really a point to this, are there really all that much applications which do xinerama-like things on top of fbdev ? I rather thought that more higlevel userland apps would be doing this. like either xfree86 with chip-specific drivers or fbdev drivers, or directfb or something such.
You're right, xinerama is mainly user-app.
Tony
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 10 lines · Antonino Daplas
Quoted 9 lines
I thought that the new API, separating the fbcon layer from the fbdev drivers would add support for this more easily. I guess it would be easy for the Appian Jeronimo 2000 board, which has two permedia3 chips, and thus can be seen as two separate devices. Cards with two ramdacs per chip, like the G400, the later radeon's and most recent cards would need driver level support, that is understandable, but is all there for fbcon to take advantage of it ? What about multi-seat, with two full consoles, with mouse and keyboard for each ?
Quoted 2 lines
This was one of the goals of the Ruby project, but I think it's mostly the input layer that got into the kernel.
:(((
Quoted 4 lines
Fbcon needs to be cleaned up, a lot. It still implements the "current console or foreground console" concept (only one console active at a time). Also, this is more of a job for linuxconsole than fbdev. I may be wrong though.
Mmm, do you know who is working on linuxconsole, and what their plan are ?
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
It does have one benefit though, the newer code should make it easier to add an infrastructure on top of fbdev, such as xinerama-style support. But this will be in the future.
Quoted 8 lines
Quoted 6 lines
Mmm, I don't know if there is really a point to this, are there really all that much applications which do xinerama-like things on top of fbdev ? I rather thought that more higlevel userland apps would be doing this. like either xfree86 with chip-specific drivers or fbdev drivers, or directfb or something such.
You're right, xinerama is mainly user-app.
:)))
Friendly,
Sven Luther
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 14 lines · Sven Luther
Quoted 10 lines · Antonino Daplas
Quoted 9 lines
I thought that the new API, separating the fbcon layer from the fbdev drivers would add support for this more easily. I guess it would be easy for the Appian Jeronimo 2000 board, which has two permedia3 chips, and thus can be seen as two separate devices. Cards with two ramdacs per chip, like the G400, the later radeon's and most recent cards would need driver level support, that is understandable, but is all there for fbcon to take advantage of it ? What about multi-seat, with two full consoles, with mouse and keyboard for each ?
Quoted 2 lines
This was one of the goals of the Ruby project, but I think it's mostly the input layer that got into the kernel.
Quoted 8 lines
:(((
Quoted 4 lines
Fbcon needs to be cleaned up, a lot. It still implements the "current console or foreground console" concept (only one console active at a time). Also, this is more of a job for linuxconsole than fbdev. I may be wrong though.
Mmm, do you know who is working on linuxconsole, and what their plan are ?
James also. I think the site is http://linuxconsole.sourceforge.net.
Tony
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 9 lines
Quoted 7 lines
Quoted 5 lines
Fbcon needs to be cleaned up, a lot. It still implements the "current console or foreground console" concept (only one console active at a time). Also, this is more of a job for linuxconsole than fbdev. I may be wrong though.
Mmm, do you know who is working on linuxconsole, and what their plan are ?
James also. I think the site is http://linuxconsole.sourceforge.net.
Its me. I have been so busy with fbdev tho I haven't worked on the console project. Plus other events in my life (joblessness) has been keeping me busy doing other things. I have the old ruby code that worked. So it is a matter of porting it over to 2.6 when it comes out. I have been keeping it up to date pretty much (2.5.59).
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 3 lines
This was one of the goals of the Ruby project, but I think it's mostly the input layer that got into the kernel.
Also the new fbdev api was apart of ruby. So all the low level changes went in. The upper console layer stuff didn't. This will be for the next developement kernel.
Quoted 4 lines
Fbcon needs to be cleaned up, a lot. It still implements the "current console or foreground console" concept (only one console active at a time). Also, this is more of a job for linuxconsole than fbdev. I may be wrong though.
Correct. This is more of a console thing. I do want to fix up fbcon now but only for bug fixes.
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 3 lines
And do you think there is a chance of standard vgacon working on a ppc board ?
I have done some work on vgacon but it needs alot of work. Vgacon is also broken on many platforms. I personally liek to see vgacon independent of the BIOS and more portable. I'm working on this.
Quoted 2 lines
I thought that the new API, separating the fbcon layer from the fbdev drivers would add support for this more easily.
You can. I did this because there are embedded devices coming out with two framebuffers. They open like a book and they have two touchscreens but no keybaords. Here VTs make no sense. So you can compile in input support for the touchscreen and just fbdev support. Then just write your app.
Quoted 2 lines
What about multi-seat, with two full consoles,
with mouse and keyboard for each ?
That requires massive surgery for the console layer.
Quoted 2 lines
I thought that one of the reasons of the
rewrite was to provide easier multi-head and multi-seat support though.
Its is for the long run. The changes required for this where huge. You had to have one input api. A clean console independent fbdev api. Then you can touch the core console code. When 2.7/3.1 comes around we can add the new console code in. Not much work there then.
Quoted 10 lines
What i think would be nice is to be able to separate the framebuffer setup (where we write to) from the dac/dp output to the monitors, and when we outport this to the higher level apps, we export them separatedly. This way X drivers can use one huge framebuffer, with DRI enabled to render on the framebuffer, and enable arbitrary setting of viewports into this framebuffer, with eventual scaling or other such stuff. And fbcon could then easily use two viewports into the same framebuffer to do dual-head/dual-seat. Overlays (for cursor and/or video) would be linked to the monitor outputs and not the framebuffer.
Quoted 4 lines
But maybe it is too late for this, good ideas for 2.7.x/3.1.x or whatever it will be named though, together with a framebuffer/agp memory management scheme which would be common to DRI, fbdev and X, and would reside in the drm module.
Next developement cycle. This is huge amount of work as well.
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
1. Text mode support?
Would this work also on arches which don't traditionnaly do text mode ? Like ppc for example.
Yes, pixel-based drawing is still the default. It's only for drivers (matrox and sbus) where it might be needed.
Only matrox has true text mode. Well also so did vga16fb but we have vgacon.
Quoted 3 lines
It does have one benefit though, the newer code should make it easier to add an infrastructure on top of fbdev, such as xinerama-style support. But this will be in the future.
So little time. Also I did this so eventually when the DRI/fbdev merger happens it will make life easier for all of us.
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 4 lines
Quoted 2 lines
2. console resizing using fbset (besides stty)?
What about dynamic multi-head support ?
Next developement series.
Quoted 3 lines
Quoted 1 line
8. feature freeze deadline?
This would be for fbdev deature freeze, right, not for the drivers ?
Correct. It pretty much is done. The only thing left to do IMO is cursor cleanup and docs and more buffer handling stuff.
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 2 lines
1. Text mode support?
We should remove it. Fbcon is to much bloat for text mode hardware. The only driver that does support a text mode matrox. Sparcs do not support text mode except for promcon. The issue was was a misunderstanding on teh flexiablity of imageblit. The name image blit stirs up this idea of the function has to be a place a image in buffer and send it on it way. This is not the case. Take a look at cg6.c. Fancy tricks are still possible.
Quoted 1 line
2. console resizing using fbset (besides stty)?
Fbcon needs alot of work on this. In theory it shoudl be smart enought to handle the small details.
Quoted 1 line
3. support for unloading of fbcon if modular?
It can be done. I used fbcon modular with MDA text mode. I can test the fbcon driver. The issue is if we have more than one vga card whcih vga to graphics card mapping.
Quoted 1 line
4. driver specified placement of buffers - for putcs method?
Working on this. I think it is possible to merge the tileblit stuff with the new buffer code.
Quoted 1 line
5. flexible logo placement/overlayed logo?
Not so important. More important is fixing fbcon to work with the logo code. You can't compile it right now.
Quoted 1 line
6. generic console display rotation?
Not so important right now. I removed the poll stuff. using signals is better.
Quoted 1 line
7. Anything else?
The cursor code needs cleanup and documentation.
Quoted 1 line
8. feature freeze deadline?
We are very near this. IMO we have two things to work on. The buffer stuff and cleaning up the cursor code.
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 9 lines · James Simmons
Quoted 2 lines
1. Text mode support?
We should remove it. Fbcon is to much bloat for text mode hardware. The only driver that does support a text mode matrox. Sparcs do not support text mode except for promcon. The issue was was a misunderstanding on teh flexiablity of imageblit. The name image blit stirs up this idea of the function has to be a place a image in buffer and send it on it way. This is not the case. Take a look at
cg6.c. Fancy tricks are still possible.
If you are to add tileblitting, text mode will be inherently supported.
Quoted 6 lines
Quoted 2 lines
2. console resizing using fbset (besides stty)?
Fbcon needs alot of work on this. In theory it shoudl be smart enought to handle the small details.
Any ideas on how to do this? I have one in my other mail.
Quoted 6 lines
Quoted 1 line
3. support for unloading of fbcon if modular?
It can be done. I used fbcon modular with MDA text mode. I can test the fbcon driver. The issue is if we have more than one vga card whcih vga to graphics card mapping.
See my other mail for a proposal on this.
Quoted 4 lines
Quoted 1 line
4. driver specified placement of buffers - for putcs method?
Working on this. I think it is possible to merge the tileblit stuff with the new buffer code.
I have to check your newest patch.
Quoted 10 lines
Quoted 2 lines
5. flexible logo placement/overlayed logo?
Not so important. More important is fixing fbcon to work with the logo code. You can't compile it right now.
Quoted 1 line
6. generic console display rotation?
Not so important right now. I removed the poll stuff. using signals is better.
Yes, I think so too.
Quoted 4 lines
Quoted 2 lines
7. Anything else?
The cursor code needs cleanup and documentation.
I already have stuff in my tree where fbcon allocates cursor resources per device. So there's no more static declarations in accel_cursor (and accel_putcs). I can submit that if you want.
I also added some locking code for accel_cursor, as well as accel_putcs, just in case thread-safety is indeed an issue.
I'm also starting to clean up fbcon_cursor and the vbl_handler. Ideally, they should also be allocated per device so multi-seat can be made possible. It's low-priority right now.
Tony
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 2 lines
If you are to add tileblitting, text mode will be inherently supported.
If I do all three tileblitting functions. Personally I think we just need tileblit.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
2. console resizing using fbset (besides stty)?
Fbcon needs alot of work on this. In theory it shoudl be smart enought to handle the small details.
Any ideas on how to do this? I have one in my other mail.
I think it is coming together quite well this last week.
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
3. support for unloading of fbcon if modular?
It can be done. I used fbcon modular with MDA text mode. I can test the fbcon driver. The issue is if we have more than one vga card whcih vga to graphics card mapping.
See my other mail for a proposal on this.
I will give it a try.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
4. driver specified placement of buffers - for putcs method?
Working on this. I think it is possible to merge the tileblit stuff with the new buffer code.
I have to check your newest patch.
Its in the BK tree.
Quoted 2 lines
Quoted 2 lines
Not so important. More important is fixing fbcon to work with the logo code. You can't compile it right now.
It works now. It doesn't compile tho if you disable the logo code and havd fbcon set.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
6. generic console display rotation?
Not so important right now. I removed the poll stuff. using signals is better.
Yes, I think so too.
Actaully the way the pixmap code came out I think we can implement the rotation stuff via the pixmap hooks.
Quoted 3 lines
I already have stuff in my tree where fbcon allocates cursor resources per device. So there's no more static declarations in
accel_cursor(andaccel_putcs). I can submit that if you want.
I seen it. I added parts. I'm going to use the upper console layer to get ride of the static variables for the cursor stuff.
Quoted 2 lines
I also added some locking code for
accel_cursor, as well asaccel_putcs, just in case thread-safety is indeed an issue.
Added to BK tree already.
Quoted 3 lines
I'm also starting to clean up
fbcon_cursorand thevbl_handler. Ideally, they should also be allocated per device so multi-seat can be made possible. It's low-priority right now.
I seen that. The VBL handlers should be removed from fbcon.c and placed in there respected drivers. I think that each driver should register its own VBL handler. Then inside the handler update the cursor. This way all we need is a timer for each display that blinks the cursor.
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en