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)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:03:45 +0000 (16:03 +0000)
commit85c05dc5b89f5ac3223d14f33794673c168c7566
tree31d006730debb6e9a0264a9f2191303e9cbbb4df
parent14097cb573704375afc0c58cd9d27cbe1fda53b9
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