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

Kindle MTK support #68

Merged
merged 60 commits into from
Feb 27, 2022
Merged

Kindle MTK support #68

merged 60 commits into from
Feb 27, 2022

Conversation

NiLuJe
Copy link
Owner

@NiLuJe NiLuJe commented Feb 27, 2022

Initial support for the (thankfully) mxcfb-inspired MTK driver found in lab126's latest platform, Bellatrix.


This change is Reviewable

Which is... a lot, thankfully ;).
The basics for now, have to test the fancier stuff.
Which also means I have to update the strace patch,
which'll take some time, and that's currently in short supply ;).
given that MTK supports all the Zelda stuff w/ matching constants.
Will make updating the strace patch much less painful
Again, will make my strace patching easier.
Allowing us to properly handle each of 'em. (Mostly)
Looks like it's actually outputting Phoenix-like event streams...

c.f., baskerville/plato#220
Might come in handy to play with the nightmode stuff...

Also, I need it for strace ;p.
(Hopefully, accurately ;p).
And it's currently only toggled via the legacy Y4 flag.
support.

And use the proper flag on MTK, since it only honors Y4 as a legacy
flag.
The fields inherited from the EPDCv2 setup are actually unused,
so, leave 'em alone to simplify the code.
It's handled by the MDP as part of the standard processing pass,
so I'm assuming it's reasonably efficient.
Allows setting up & enabling animated refreshes.
If they've been kept around, I assume it's because userland still sets
'em, regardless of whether the kernel actually uses 'em.
And document the maximum value for steps on Bellatrix.
@NiLuJe NiLuJe merged commit 0f7b2ae into master Feb 27, 2022
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