Skip to content
Snippets Groups Projects
Commit 7eca3a36 authored by Dmitry Petrov's avatar Dmitry Petrov
Browse files

panel-dt: fix number of found panel modes

The following errors can be observed in dmesg on some boards (e.g.
SANTINO/SANTINO-LT):
[    3.102655] /disp0: could not find display-timings node
[    3.108037] /disp0: no timings specified

It looks like panel_dt_get_non_edid_modes() was made from
panel_simple_get_non_edid_modes() of drivers/gpu/drm/panel/panel-simple.c
but increasing number of found modes was omited.

panel-simple.c has this code:
283-            if (mode) {
284-                    drm_mode_probed_add(connector, mode);
285:                    num = 1;
286-            } else {

So add the same assignment in panel-dt.c too.
parent 971afb3b
No related branches found
No related tags found
1 merge request!276panel-dt: fix number of found panel modes
Pipeline #102615 passed with stage
in 16 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment