Skip to content
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

EBC (eink) driver: Potential future improvements #78

Open
m-weigand opened this issue Oct 16, 2024 · 0 comments
Open

EBC (eink) driver: Potential future improvements #78

m-weigand opened this issue Oct 16, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed kernel

Comments

@m-weigand
Copy link
Collaborator

m-weigand commented Oct 16, 2024

This is just a meta issue aimed at providing some collected thoughts on the issue.

Note for contributors Any relevant information should probably be centralised in the Pine wiki (https://wiki.pine64.org/index.php?title=PineNote).

Random thoughts on improving the ebc driver:

  • Anyway, the driver resides completely in kernel space, and thus must be modified there. Probably the first thing to do would be proper profiling to identify any delays that could be improved.

  • Another thing would be to work on facilitating the rga2 hardware of the rk3566 chip to do Y4 and dithering in hardware, instead of software. However, this is a user space issue and must be tackled in the compositor.

  • There are reports of slightly differing drawing speed between the 6.3 kernel (e.g., https://github.com/m-weigand/linux/tree/branch_pinenote_6-6-37) and the newer 6.9 and 6.12 kernels (e.g., https://github.com/m-weigand/linux/tree/branch_pinenote_6-12-rc3_v1). This is probably due to reworked buffer handling, which was aimed at ensuring in-order handling of screen updates. While these changes were probably correct, we should think about introducing additional code paths in the driver for optimal (i.e., fastest) drawing performance.

RGA2e and EBC hardware

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed kernel
Projects
None yet
Development

No branches or pull requests

1 participant