Re: [PATCH] drm/msm: Don't attempt to attach HDMI bridge twice

2020-03-20 Thread Bjorn Andersson
On Thu 19 Mar 11:19 PDT 2020, Rob Clark wrote: > On Wed, Mar 18, 2020 at 9:39 PM Bjorn Andersson > wrote: > > > > With the introduction of '3ef2f119bd3e ("drm/msm: Use > > drm_attach_bridge() to attach a bridge to an encoder")' the HDMI bridge > > is attached both in msm_hdmi_bridge_init() and la

Re: [PATCH] drm/msm: Don't attempt to attach HDMI bridge twice

2020-03-19 Thread Rob Clark
On Wed, Mar 18, 2020 at 9:39 PM Bjorn Andersson wrote: > > With the introduction of '3ef2f119bd3e ("drm/msm: Use > drm_attach_bridge() to attach a bridge to an encoder")' the HDMI bridge > is attached both in msm_hdmi_bridge_init() and later in > msm_hdmi_modeset_init(). > > The second attempt fai

[PATCH] drm/msm: Don't attempt to attach HDMI bridge twice

2020-03-19 Thread Bjorn Andersson
With the introduction of '3ef2f119bd3e ("drm/msm: Use drm_attach_bridge() to attach a bridge to an encoder")' the HDMI bridge is attached both in msm_hdmi_bridge_init() and later in msm_hdmi_modeset_init(). The second attempt fails as the bridge is already attached to the encoder and the whole pro