]> 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)
commit88f32590d3c56913fa52f949f930dd277b7829d9
tree6325f2418fa45b0cd61058ed24091b2f19dda620
parent155279acb37ad800a1023ff9a518b7f9178fcf49
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