-
Notifications
You must be signed in to change notification settings - Fork 5.2k
add txw700071s0 dsi panel #6914
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
base: rpi-6.12.y
Are you sure you want to change the base?
Conversation
a549f84
to
cf78c61
Compare
Here are some things you'll need to fix before we accept your change:
|
It would have been useful for you to have put in the PR description that I had asked you to create this for test purposes in https://forums.raspberrypi.com/viewtopic.php?t=389125 I'll give it a whirl against the analyser now. |
Tested against the analyser. Images are fine. Timings are reported as:
You can use |
Having looked again at your image from the forum post, please test with kmstest rather than the desktop. The desktop could have rendering errors in what is presented to the display pipeline. kmstest should have a square box in each corner (top left is solid, the others are hollow). Ensure those are rendered correctly. |
Ok, I have tested with kmstest now. The modified kmstest parameters seem to introduce a vertical problem in addition to the horizontal wrap. Unchanged CM4 with kmstest, wrapping present the same as in desktop:
Your kmstest parameters:
Unchanged CM5 with kmstest, display working fine:
|
Typo (by me) in the height is why you're getting 55.84Hz and a vertical change. 1280, not 1380. I don't have the display, but try |
Wasn't able to improve it with changing HFP/HBP/HSA. Wrap present:
Wrap gone, display content fine:
|
Addition
This one is good:
|
You've not changed the DSI clock. The fixup has just extended the HFP from 174 at 76MHz to 188 at 75MHz. You have dropped your frame rate in changing the nominal pixel clock though. Most likely you can reduce the HBP of 80 to compensate and bring the frame rate back to 60Hz. |
Nice, this one seems to work fine on CM4 and is above 60Hz. Need to test it also on CM5, good point. Is this safe to use like that, or is it recommended to confirm this with the display manufacturer first?
|
Covered (briefly) in that white paper / source code comment. DSI on BCM2711 is fed from a 3GHz clock via an integer only divider. It can therefore only get:
DSI supports what is called burst mode where the DSI clock is run faster (often max possible) to send the data as quickly as possible, and then drop the link into a low power mode (remember that the interface was designed for mobile devices, so power saving is essential). RP1 has a dedicated PLL per DSI block, so it can produce the link frequency requested. If the timings are those proven to work on CM4, then they should always be good for CM5. As to whether you need to check with the display manufacturer, it depends if they're actually helpful. |
No description provided.