Re: [PATCH 2/2] drm/panel: Add device_link from panel device to drm device

2018-02-23 Thread Jyri Sarha
On 23/02/18 12:43, Jyri Sarha wrote: > Sorry Lukas, for forgetting these comments. > > I'll take these comments to this thread as the other thread is a dead > end. I think the drm_panel_attach() (in this patch) is a better place to > add the device link than panel_bridge_attach() (the other

Re: [PATCH 2/2] drm/panel: Add device_link from panel device to drm device

2018-02-23 Thread Jyri Sarha
Sorry Lukas, for forgetting these comments. I'll take these comments to this thread as the other thread is a dead end. I think the drm_panel_attach() (in this patch) is a better place to add the device link than panel_bridge_attach() (the other patch). On 21/02/18 09:52, Lukas Wunner wrote: > On

Re: [PATCH 2/2] drm/panel: Add device_link from panel device to drm device

2018-02-22 Thread Lukas Wunner
On Thu, Feb 22, 2018 at 07:46:27PM +0200, Jyri Sarha wrote: > Add device_link from panel device (supplier) to drm device (consumer) > with DL_FLAG_AUTOREMOVE when drm_panel_attach() is called. Currently > the master drm driver is not protected against the attached. The > device_link with

[PATCH 2/2] drm/panel: Add device_link from panel device to drm device

2018-02-22 Thread Jyri Sarha
Add device_link from panel device (supplier) to drm device (consumer) with DL_FLAG_AUTOREMOVE when drm_panel_attach() is called. Currently the master drm driver is not protected against the attached. The device_link with DL_FLAG_AUTOREMOVE should make sure the drm device is unbound before the