]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Remove conflicting framebuffers before callind bind_all
authorMaxime Ripard <maxime@cerno.tech>
Wed, 15 Dec 2021 09:51:16 +0000 (10:51 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 11 Jan 2022 12:16:11 +0000 (13:16 +0100)
commit72f1085c361a7518c6c049cc3f957382e920cd39
treea00e1665b67c160517fb91f31398bd57a877850d
parent5ee8e48c2ec8cec7849f2a2a89bc052c2aec9b24
drm/vc4: Remove conflicting framebuffers before callind bind_all

The bind hooks will modify their controller registers, so simplefb is
going to be unusable anyway. Let's avoid any transient state where it
could still be in the system but no longer functionnal.

Acked-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20211215095117.176435-4-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_drv.c