]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: drv: Call component_unbind_all()
authorMaxime Ripard <maxime@cerno.tech>
Mon, 11 Jul 2022 17:38:42 +0000 (19:38 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 13 Jul 2022 08:46:06 +0000 (10:46 +0200)
commit2cc00c0efb59bf4b21c72102fa5df24a3f75e4ba
tree73a2ef1d85195f196564b3e0f8645257ad8c93d1
parent8d50ac49e893db70a03a907717854fd60f433c7a
drm/vc4: drv: Call component_unbind_all()

While we were using the component framework to deal with all the DRM
subdevices, we were not calling component_unbind_all().

This leads to none of the subdevices freeing up their resources as part of
their unbind() or device managed hooks.

Fixes: b5ab5d6e3cb4 ("drm/vc4: Add KMS support for Raspberry Pi.")
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220711173939.1132294-13-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_drv.c
drivers/gpu/drm/vc4/vc4_drv.h