Skip to content

fbtft: Use contiguous memory for framebuffer. Add FBTFT_UPDATE IOCTL. #267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: odroidc2-3.14.y
Choose a base branch
from

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