Skip to content
Snippets Groups Projects

panel-dt: fix number of found panel modes

Merged Dmitry Petrov requested to merge linux-5.15.29-guf_drm_panel_err_fix into linux-5.15.29-guf

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.

Edited by Dmitry Petrov

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading