Skip to content

Pi4 vc4-kms-v3d for 2xHDMI + DPI doesn't work #4814

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

Closed
6by9 opened this issue Jan 7, 2022 · 2 comments
Closed

Pi4 vc4-kms-v3d for 2xHDMI + DPI doesn't work #4814

6by9 opened this issue Jan 7, 2022 · 2 comments
Assignees
Labels
KMS Issue Issues related to KMS/DRM drivers

Comments

@6by9
Copy link
Contributor

6by9 commented Jan 7, 2022

Describe the bug

Note for myself / @mripard so I don't forget this.

Testing on Pi4 with HDMI-0 and DPI (HyperPixel4 800x480@60 using #4812) works fine. Plug in HDMI-1 and it fails with flip done timeouts.

2xHDMI + DSI1 (7" touch panel) works fine. DSI1 can be fed from any of the HVS channels though, whereas DPI is channel 0 / output 0 only.

Steps to reproduce the behaviour

Build with 4812.
Add dtoverlay=vc4-kms-dpi-hyperpixel4.
Boot with just HDMI-0 connected and all OK.
Boot with both HDMIs connected and get no display.
Boot with just HDMI-0 and then connect HDMI-1, and HDMI-1 does not come up. At next update it will produce flip timeout.

Device (s)

Raspberry Pi 4 Mod. B

System

Checked on both 5.10.90 and 5.15.15, 32bit kernels.

Logs

No response

Additional context

No response

@6by9 6by9 self-assigned this Jan 7, 2022
@aBUGSworstnightmare-rpi
Copy link
Contributor

aBUGSworstnightmare-rpi commented Jan 8, 2022

Hi Dave, dual HDMI+DPI has never worked for me on Bullseye. Reported on 11th here https://forums.raspberrypi.com/viewtopic.php?p=1936459&hilit=Bullseye#p1936471.

Will make a test with dual HDMI + Mipi bridge (your 5.15 repro) and report back.

@pelwell pelwell added the KMS Issue Issues related to KMS/DRM drivers label Mar 2, 2022
@6by9
Copy link
Contributor Author

6by9 commented Sep 10, 2022

Should be resolved now through #5121. I've certainly had dual DSI and single HDMI0 working.

There was insufficient COB assigned to HVS channel 2, and the interrupt masking was wrong for 2711 leading to the interrupt being disabled by the core.

@6by9 6by9 closed this as completed Sep 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
KMS Issue Issues related to KMS/DRM drivers
Projects
None yet
Development

No branches or pull requests

3 participants