Thread (14 messages) 14 messages, 3 authors, 2005-12-08

Re: scroll modes

From: Knut Petersen <hidden>
Date: 2005-11-30 18:20:55

Geert Uytterhoeven wrote:
Ywrap has been working fine with amifb since ages (unless someone broke it very
recently).

 
We are talking about scrollmode = SCROLL_WRAP_MOVE ?
I put printk()s in the imageblit(), copyarea() and pan_display() 
functions of
cyblafb and in updatescrollmode() of fbcon.c. A "cat somefile" after loading
cyblafb produces the following log, you can see that the vyres == 2048 
and that
the maximum yoffset passed to pan_display() is 2048-768==1280. To call
that mode SCROLL_WRAP_SOMETHING the maximum yoffset should be
2048-16==2032. In reality it seems to be some kind of SCROLL_BROKEN_PAN ;-)


[43673.343266] cyblafb: CyblaFB version 0.56 initializing
[43673.345864] cyblafb: Pixmap size = 8188, alignement = 1
[43673.348147] ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 
11 (level, low) -> IRQ 11
[43673.351810] cyblafb: region 0x3c0/0x20 already reserved
[43673.353941] cyblafb: framebuffer size = 8192 Kb
[43673.356006] cyblafb: region 0xe1800000/0x800000 already reserved
[43673.358274] cyblafb: detected startup mode: fbset -g 1024 768 1024 
??? 32 -t 15389 160 24 29 3 136 6
[43673.366685] cyblafb: Switching to new mode: fbset -g 1024 768 1024 
2048 32 -t 15389 160 24 29 3 136 6
[43673.368795] cyblafb: pixclock = 129.96 MHz, k/m/n 0 b 6e
[43673.368858] Scrollmode = SCROLL_WRAP_MOVE

[...]

[43674.319558] cyblafb: panning to xoffset 0, yoffset 1200
[43674.319836] cyblafb: blit to 0 / 1952, w/h 1024 / 16
[43674.319997] cyblafb: panning to xoffset 0, yoffset 1216
[43674.320260] cyblafb: blit to 0 / 1968, w/h 1024 / 16
[43674.320423] cyblafb: panning to xoffset 0, yoffset 1232
[43674.320710] cyblafb: blit to 0 / 1984, w/h 1024 / 16
[43674.320881] cyblafb: panning to xoffset 0, yoffset 1248
[43674.321147] cyblafb: blit to 0 / 2000, w/h 1024 / 16
[43674.321307] cyblafb: panning to xoffset 0, yoffset 1264
[43674.321582] cyblafb: blit to 0 / 2016, w/h 1024 / 16
[43674.321769] cyblafb: panning to xoffset 0, yoffset 1280
[43674.322050] cyblafb: blit to 0 / 2032, w/h 1024 / 16
[43674.322471] cyblafb: blit to 0 / 0, w/h 1024 / 16
[43674.322902] cyblafb: blit to 0 / 16, w/h 1024 / 16
[43674.344359] cyblafb: blit to 8 / 32, w/h 1016 / 16
[43674.346218] cyblafb: blit to 0 / 48, w/h 1024 / 16
[43674.348017] cyblafb: blit to 0 / 64, w/h 1024 / 16
[43674.349780] cyblafb: blit to 0 / 80, w/h 1024 / 16
[43674.351794] cyblafb: blit to 0 / 96, w/h 1024 / 16
[43674.353558] cyblafb: blit to 0 / 112, w/h 1024 / 16

[...]

[43674.647018] cyblafb: blit to 0 / 1984, w/h 1024 / 16
[43674.647184] cyblafb: panning to xoffset 0, yoffset 1248
[43674.647472] cyblafb: blit to 0 / 2000, w/h 1024 / 16
[43674.647646] cyblafb: panning to xoffset 0, yoffset 1264
[43674.647918] cyblafb: blit to 0 / 2016, w/h 1024 / 16
[43674.648085] cyblafb: panning to xoffset 0, yoffset 1280
[43674.648351] cyblafb: blit to 0 / 2032, w/h 1024 / 16
[43674.648767] cyblafb: blit to 0 / 0, w/h 1024 / 16
[43674.649068] cyblafb: blit to 0 / 16, w/h 16 / 16
[43674.668394] cyblafb: blit to 16 / 16, w/h 1008 / 16
[43674.670569] cyblafb: blit to 0 / 32, w/h 1024 / 16
[43674.672304] cyblafb: blit to 0 / 48, w/h 1024 / 16

cu,
 knut


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help