[PATCH drm-misc-next v3 0/4] Fixes for vc4 hotplug rework
Maxime Ripard
maxime at cerno.tech
Thu Aug 25 07:47:14 UTC 2022
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
More information about the dri-devel
mailing list