Re: [PATCH drm-misc-next v3 0/4] Fixes for vc4 hotplug rework

From: Maxime Ripard
Date: Thu Aug 25 2022 - 03:47:29 EST


On Wed, 24 Aug 2022 18:13:23 +0200, Danilo Krummrich wrote:
> I've found a few potential issues left after the hotplug rework.
>
> In vc4_hdmi.c we're missing two mutex_unlock() calls when the device is
> unplugged.
>
> vc4_crtc and vc4_plane seem to miss some drm_dev_enter()/drm_dev_exit() calls
> to protect against resource access after the device/driver is unbound, but the
> DRM potentially isn't freed yet and userspace can still call into the driver.
>
> [...]

Applied to drm/drm-misc (drm-misc-next).

Thanks!
Maxime