[Freedreno] [PATCH] drm/msm/dp: Use the connector passed to dp_debug_get()

2021-10-09 Thread Bjorn Andersson
The debugfs code is provided an array of a single drm_connector. Then to access the connector, the list of all connectors of the DRM device is traversed and all non-DisplayPort connectors are skipped, to find the one and only DisplayPort connector. But as we move to support multiple DisplayPort co

Re: [Freedreno] [PATCH] drm/msm/dp: Use the connector passed to dp_debug_get()

2021-10-12 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-10-09 20:04:35) > The debugfs code is provided an array of a single drm_connector. Then to > access the connector, the list of all connectors of the DRM device is > traversed and all non-DisplayPort connectors are skipped, to find the > one and only DisplayPort connect

Re: [Freedreno] [PATCH] drm/msm/dp: Use the connector passed to dp_debug_get()

2021-10-12 Thread abhinavk
On 2021-10-09 20:04, Bjorn Andersson wrote: The debugfs code is provided an array of a single drm_connector. Then to access the connector, the list of all connectors of the DRM device is traversed and all non-DisplayPort connectors are skipped, to find the one and only DisplayPort connector. Bu

Re: [Freedreno] [PATCH] drm/msm/dp: Use the connector passed to dp_debug_get()

2021-10-12 Thread Bjorn Andersson
On Tue 12 Oct 16:03 PDT 2021, abhin...@codeaurora.org wrote: > On 2021-10-09 20:04, Bjorn Andersson wrote: > > The debugfs code is provided an array of a single drm_connector. Then to > > access the connector, the list of all connectors of the DRM device is > > traversed and all non-DisplayPort co

Re: [Freedreno] [PATCH] drm/msm/dp: Use the connector passed to dp_debug_get()

2021-10-12 Thread abhinavk
On 2021-10-12 16:38, Bjorn Andersson wrote: On Tue 12 Oct 16:03 PDT 2021, abhin...@codeaurora.org wrote: On 2021-10-09 20:04, Bjorn Andersson wrote: > The debugfs code is provided an array of a single drm_connector. Then to > access the connector, the list of all connectors of the DRM device is