[PATCH v10 0/2] Silence missing-graph error for DRM bridges
From: Dmitry Osipenko
Date: Wed Jul 01 2020 - 03:43:04 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:
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(+)
--
2.26.0