[v10,0/2] Silence missing-graph error for DRM bridges
mbox series

Message ID 20200701074232.13632-1-digetx@gmail.com
Headers show
  • Silence missing-graph error for DRM bridges
Related show


Dmitry Osipenko July 1, 2020, 7:42 a.m. UTC

This small series improves DRM bridges code by silencing a noisy error
coming from of-graph code for the device-trees that are missing a
display bridge graph.

  graph: no port node found in ...

One example where this error happens is an older bridge-less DTB used
in conjunction with a newer kernel which has a display controller driver
that supports DRM bridges.


v10:- Corrected doc-comment, unbroke the of_graph_get_next_endpoint() and
      improved commit's message in the "add of_graph_is_present()" patch.
      Thanks to Laurent Pinchart for spotting the problems!

v9: - These two patches are factored out from [1] in order to ease applying
      of the patches.

    - The of_graph_presents() is renamed to of_graph_is_present() like it
      was requested by Rob Herring in the review comment to [1].

    - Added Rob's r-b.

    [1] https://patchwork.ozlabs.org/project/linux-tegra/list/?series=184102

Dmitry Osipenko (2):
  of_graph: add of_graph_is_present()
  drm/of: Make drm_of_find_panel_or_bridge() to check graph's presence

 drivers/gpu/drm/drm_of.c |  9 +++++++++
 drivers/of/property.c    | 23 +++++++++++++++++++++++
 include/linux/of_graph.h |  6 ++++++
 3 files changed, 38 insertions(+)