Open vwarg opened 12 years ago
i'm not sure, but shouldnt fb_pan_display also exist on struct fb_ops bcm2708_fb_ops to do the actual flip?
cleverca22, you are absolutely correct. I had forgotten that I hadn't updated to the latest pageflip-driver (or even the kernel that we're currently using). Will try to remedy that tonight.
after more digging, i see that fb_pan_display doesn't seem to be required
the problem appears to be around https://github.com/raspberrypi/linux/blob/rpi-3.6.y/drivers/video/bcm2708_fb.c#L189
the copy in razdroid is over 6 months old, and calculates yres improperly, causing it to falsely return an error
i used the latest bcm2708_fb.c and the page flipping appears to be fully working, and causing a different bug i cant track down
wait, upon a closer inspecting, that bug was never in the rpi fork, ever, this razdroid copy is somehow missing things that the rpi fork has had since the initial commit
Patch for that:
(URL to patchfile: https://www.dropbox.com/s/kuh79vj5a91knn2/page_flip.patch )