radeonfb_pci_register video memory clear?
I'm just wondering why the clearing of video memory was added to radeonfb_pci_register? The memory still belongs to vgacon at this point. There are a few other problems with this: there is a noticable delay while the screen is totaly blank, vgacon can't save the text screen to the shadow buffer, and all further output until the takeover is invisible (vga font is wiped) so an oops here wouldn't be readable.
John
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
Il Fri, Jun 18, 2004 at 10:20:17PM -0400, John Zielinski ha scritto:
Quoted 3 lines
*This message was transferred with a trial version of CommuniGate(tm) Pro* I'm just wondering why the clearing of video memory was added to
radeonfb_pci_register?
AFAIK without that radeonfb will display the content of the memory as random garbage.
Luca
Signature · 10 lines
Home: http://kronoz.cjb.net Software is like sex; it's better when it's free. Linus Torvalds ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
Quoted 4 lines · Kronos
AFAIK without that radeonfb will display the content of the memory as random garbage.
I does fix it but the side effects I listed make it a bad idea, especially the fact that the radeonfb driver doesn't own the memory yet. Tony has posted a proper fix for the problem so whoever put this in, please remove it.
John
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
Quoted 6 lines · John Zielinski
I'm just wondering why the clearing of video memory was added to
radeonfb_pci_register? The memory still belongs to vgacon at this point. There are a few other problems with this: there is a noticable delay while the screen is totaly blank, vgacon can't save the text screen to the shadow buffer, and all further output until the takeover is invisible (vga font is wiped) so an oops here wouldn't be readable.
I added that to fix reports of users complaining they had garbage displayed on boot. I didn't think about the interaction with vgacon (see, I have absolutely no legacy hardware doing crappy VGA mode ;)
Maybe that should be reversed ....
Ben.
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
Quoted 10 lines · John Zielinski
Quoted 4 lines · Kronos
AFAIK without that radeonfb will display the content of the memory as random garbage.
I does fix it but the side effects I listed make it a bad idea, especially the fact that the radeonfb driver doesn't own the memory yet. Tony has posted a proper fix for the problem so whoever put this in, please remove it.
Provided Tony fix gets upstream instead of beeing lost for 6 more monthes in the fbdev tree ...
Ben.
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
Quoted 11 lines · Benjamin Herrenschmidt
Quoted 7 lines · John Zielinski
Quoted 3 lines
AFAIK without that radeonfb will display the content of the memory as random garbage.
I does fix it but the side effects I listed make it a bad idea, especially the fact that the radeonfb driver doesn't own the memory yet. Tony has posted a proper fix for the problem so whoever put this in, please remove it.
Provided Tony fix gets upstream instead of beeing lost for 6 more monthes in the fbdev tree ...
Nah, Tony is doing his best to get stuff merged with Andrew...
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 sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com