-
Notifications
You must be signed in to change notification settings - Fork 35
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
panel: Chain in post-panel-on-command
#36
base: master
Are you sure you want to change the base?
Conversation
Hm, but the way you added this here it's sent as part of the |
@stephan-gh with "for the In part because we currently have |
I think we should at least add a FIXME comment in the code that these are generally not meant to be chained to the The |
@stephan-gh sure, I'm just not seeing how we could do that with the way the code is currently set up. Maybe add a |
This is a perfect contended for the `.prepare()` -> `.enable()` split; on Sony panels the unblank command is typically in `post-panel-on` to make it happen after the panel is prepared, the bridge is on, and pixel data is flowing. Without this pretty much all our panels are generated with a driver that never unblanks the panel.
Someone linked this: https://github.com/Saikatsaha1996/android_kernel_oneplus_sm8350/blob/9c86b0cf0172c8ca42ed377af48c0e877ba7a050/arch/arm64/boot/dts/vendor/oplus/porsche/dsi-panel-oplus21617-samsung-ams662zs01-1080-2400-dvt-dsc-cmd.dtsi#L158-L161 And their generated panel indeed never unblanks at the end of _on(): https://github.com/Saikatsaha1996/linux-sm8350/blob/b7975f1ae5fd4aa9eac89b2777df0d72ba3e2082/drivers/gpu/drm/panel/panel-samsung-ams662zs01.c#L108
32eea3e
to
baa7ffa
Compare
Started hacking in something ugly that doesn't really work, above idea is still more likable since only the parser in |
Hm, I wonder if we could parse that kind of stuff in a separate |
This is a perfect contender for the
.prepare()
->.enable()
split; on Sony panels the unblank command is typically inpost-panel-on
to make it happen after the panel is prepared, the bridge is on, and pixel data is flowing.Without this pretty much all our panels are generated with a driver that never unblanks the panel.