]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Notify the firmware when DRM is in charge
authorMaxime Ripard <maxime@cerno.tech>
Wed, 15 Dec 2021 09:51:17 +0000 (10:51 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 11 Jan 2022 12:16:12 +0000 (13:16 +0100)
commit2f8e3161433f943255bf77100394186751aae502
tree6325f2418fa45b0cd61058ed24091b2f19dda620
parent72f1085c361a7518c6c049cc3f957382e920cd39
drm/vc4: Notify the firmware when DRM is in charge

Once the call to drm_fb_helper_remove_conflicting_framebuffers() has
been made, simplefb has been unregistered and the KMS driver is entirely
in charge of the display.

Thus, we can notify the firmware it can free whatever resource it was
using to maintain simplefb functional.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211215095117.176435-5-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_drv.c