[PATCH] drm/sun4i: dsi: Avoid hotplug race with DRM driver bind

Maxime Ripard maxime at cerno.tech
Wed Feb 19 15:57:54 UTC 2020


On Mon, Feb 17, 2020 at 12:09:06AM -0600, Samuel Holland wrote:
> We need to make sure that the DRM driver is fully registered before
> allowing the panel to be attached. Otherwise, we may trigger a hotplug
> event before sun4i_framebuffer_init() sets up drm->mode_config.funcs,
> causing a NULL pointer dereference.
>
> Fixes: 1a2703bd7356 ("drm/sun4i: dsi: Allow binding the host without a panel")
> Signed-off-by: Samuel Holland <samuel at sholland.org>

Thanks for following up on this, I've applied it

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20200219/1a66f543/attachment-0001.sig>


More information about the dri-devel mailing list