Re: Question about cfb_copyarea
Juergen Beisert <[email protected]> Sat, 10 Feb 2007 15:32:48 +0100
| Newsgroups | gmane.linux.fbdev.user |
|---|---|
| Organization | Privat |
| Message-ID | <[email protected]> |
Hi Petr,
On Wednesday 31 January 2007 10:12, Petr Vandrovec wrote:
> Take a look at updatescrollmode() in fbcon.c - you must persuade this
> function to use SCROLL_*_MOVE, not SCROLL_*_REDRAW. FBINFO_READS_FAST
> should be sufficient - or you can report fast bitblt + fast panning, or
> fast bitblt + slow imageblit. If you report no panning + fast bitblt +
> fast imageblit, redraw is used :-(
I tried around to get fbcon to use SCROLL_MOVE. These are my current settings:
info->flags = FBINFO_DEFAULT |
FBINFO_HWACCEL_COPYAREA |
FBINFO_HWACCEL_FILLRECT |
FBINFO_HWACCEL_IMAGEBLIT |
FBINFO_READS_FAST;
With this settings updatescrollmode() decides to use SCROLL_MOVE.
Two things are coming up with this scroll mode (all in fbcon_scroll() ):
1) why is the variable "logo_shown" always set to 0 for console 0? When in
console 0 it always ends up in "goto redraw_up;" But I have no logo on my
console? For other consoles than 0 "logo_shown" is -1
(=FBCON_LOGO_CANSHOW)
2) with the settings above active on another console then 0, the whole system
freezes immediately in ops->bmove() or ops->clear()????
2a) when I comment out the "logo_shown" check in fbcon_scroll() it also
freezes the whole system in console 0.
Any ideas?
Juergen
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642