Hi,
On 18/10/2024 12:32, Geert Uytterhoeven wrote:
White Hawk CN15
---------------
Does not work:
- Display resolution is detected correctly (1920x1080 or 2560x1440),
- Black screen, displays say no signal detected,
- "modetest -M rcar-du -s 88:1920x1080@XR24" triggers:
rcar-mipi-dsi fed90000.dsi-encoder: Failed to disable video transmission
vsp1 fea20000.vsp: Underrun occurred at WPF0 (total underruns 2)
Note that fea20000.vsp is vspd0, not vspd1. I do have a few similar
messages for fea28000.vsp in my logs, so this may be a red herring.
I had a try with this. The first issue I hit was that ti-sn65dsi86
driver doesn't work if there are two sn65dsi86 devices: Creating aux
devices try to create sysfs files with the same names for both devices,
thus failing. I take you didn't see this?
I brute forced my way through that by doing "aux->id = s_foo++;" in
ti_sn65dsi86_add_aux_device().
After that, I was in the same situation as you, black screen. The
ti-sn65dsi86 does detect the monitor, though, and reads the edid just
fine, so I think it unlikely that the issue is on ti-sn65dsi86 side. I'm
not sure if the second DSI output has ever been tested, maybe the issue
is around there.
I did not see the errors you saw. Random underflows are know to happen,
though, but it's odd if you see them for the display path that's
(supposedly) not in use...
The fps looks fine, so the pclk and timings are probably ok:
kmstest -c1 --flip
Connector 1/@88: DP-2
Crtc 1/@84: 2560x1440@59.95 241.500 2560/48/32/80/+ 1440/3/5/33/- 60
(59.95) P|D
Plane 5/@58: 0,0-2560x1440
Fb 99 2560x1440-XR24
press enter to exit
Connector 1: fps 60.02, slowest 17.16 ms
Connector 1: fps 59.99, slowest 16.69 ms
Connector 1: fps 59.99, slowest 16.82 ms
Connector 1: fps 60.00, slowest 16.82 ms
Tomi