[PATCH v2 2/2] drm/panel: Add device_link from panel device to drm device
Eric Anholt
eric at anholt.net
Wed Feb 28 18:14:20 UTC 2018
Jyri Sarha <jsarha at ti.com> writes:
> 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 panel driver becomes unavailable.
>
> The device_link is removed when drm_panel_detach() is called. The
> drm_panel_detach() should be called by the panel driver it self when
> it is removed. Otherwise the both driver are racing to delete the same
> link.
I think this paragraph wants to be:
The device_link is removed when drm_panel_detach() is called. The
drm_panel_detach() should be called by the consumer DRM driver, not the
panel driver, otherwise both drivers are racing to delete the same link.
Other than that, these patches are:
Reviewed-by: Eric Anholt <eric at anholt.net>
(though you'll probably want to wait a bit for Thierry to look at them
too)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180228/61ec0a76/attachment.sig>
More information about the dri-devel
mailing list