On Wed, Feb 21, 2018 at 10:51:50AM +0200, Jyri Sarha wrote:
> On 21/02/18 01:47, Daniel Vetter wrote:
> > On Wed, Feb 21, 2018 at 12:21:50AM +0200, Jyri Sarha wrote:
> >> Currently the master drm driver is not protected against the attached
> >> panel driver from becoming unavailable. Adding a devi
On 21/02/18 01:47, Daniel Vetter wrote:
> On Wed, Feb 21, 2018 at 12:21:50AM +0200, Jyri Sarha wrote:
>> Currently the master drm driver is not protected against the attached
>> panel driver from becoming unavailable. Adding a device_link with
>> DL_FLAG_AUTOREMOVE flag unbinds the master drm devic
On Wed, Feb 21, 2018 at 12:21:50AM +0200, Jyri Sarha wrote:
> @@ -94,6 +114,8 @@ static void panel_bridge_detach(struct drm_bridge *bridge)
> struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge);
>
> drm_panel_detach(panel_bridge->panel);
> +
> + device_link_del(
On Wed, Feb 21, 2018 at 12:21:50AM +0200, Jyri Sarha wrote:
> Currently the master drm driver is not protected against the attached
> panel driver from becoming unavailable. Adding a device_link with
> DL_FLAG_AUTOREMOVE flag unbinds the master drm device (the consumer)
> when the panel device (the
Currently the master drm driver is not protected against the attached
panel driver from becoming unavailable. Adding a device_link with
DL_FLAG_AUTOREMOVE flag unbinds the master drm device (the consumer)
when the panel device (the supplier) becomes unavailable.
Signed-off-by: Jyri Sarha
Suggeste