so...
/sys/class/graphics/fb0/stride gives us our X width (I think...)
on the 3
[root@kindle root]# cat /sys/class/graphics/fb0/stride
300
on the 4
[root@kindle root]# cat /sys/class/graphics/fb0/stride
600
So that looks right anyways...
I guess at this point we either have to choose to shift everything Left by stepping "so many to the right" and copying them "So many to the left..." and just forget about the bit on the right... or actually "wrap around" values like on an old broken TV...
Let's have a look back up at how GM was doing that...
Oh! and it's 8 bits per pixel. Now IIRC Hawhill said on the Kindle 4 that the lower 4 bits are just copied into the upper 4 bits... so we need to see if there is any "nibble" switching that we need to fiddle with at some point too... (I think that is what he called it)
EDIT. meh no I dont think so... just be careful to step in the correct increments I guess.
Last edited by twobob; 03-22-2013 at 03:26 AM.
|