[PATCH v9 0/2] Silence missing-graph error for DRM bridges

From: Dmitry Osipenko
Date: Tue Jun 30 2020 - 22:16:35 EST


Hi!

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.

Changelog:

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 | 52 +++++++++++++++++++++++++++++++++-------
include/linux/of_graph.h | 6 +++++
3 files changed, 58 insertions(+), 9 deletions(-)

--
2.26.0