mbox series

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

Message ID 20200701074232.13632-1-digetx@gmail.com
Headers show
Series Silence missing-graph error for DRM bridges | expand

Message

Dmitry Osipenko July 1, 2020, 7:42 a.m. UTC
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(+)

Comments

Sam Ravnborg July 1, 2020, 9:02 a.m. UTC | #1
Hi Dmitry
On Wed, Jul 01, 2020 at 10:42:30AM +0300, Dmitry Osipenko wrote:
> 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

Thanks for your patience with these - applied to drm-misc-next now.

	Sam

> 
>  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
Dmitry Osipenko July 1, 2020, 9:31 a.m. UTC | #2
01.07.2020 12:02, Sam Ravnborg пишет:
> Hi Dmitry
> On Wed, Jul 01, 2020 at 10:42:30AM +0300, Dmitry Osipenko wrote:
>> 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
> 
> Thanks for your patience with these - applied to drm-misc-next now.

Thanks to you and Laurent!