Skip to content

Conversation

@OtherCrashOverride
Copy link

@OtherCrashOverride OtherCrashOverride commented Jan 30, 2017

This patch changes the memory allocated for the LCD from paged to contiguous. This allows the memory to be used directly by the GE2D hardware blitter. A new FBTFT_UPDATE IOCTL is added to notify the driver that framebuffer contents have been changed. Without it, GE2D updates go unnoticed.

Additionally, the fix.smem_start variable is set to the physical address of the framebuffer. Previously, it always had a null value.

This patch can be tested with the following program branch that uses GE2D to blit directly to the LCD memory:
https://github.com/OtherCrashOverride/c2screen2lcd/tree/fb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant