drm/vc4: plane: Register a different drm_plane_helper_funcs on BCM2711
authorMaxime Ripard <maxime@cerno.tech>
Thu, 21 Apr 2022 09:39:27 +0000 (11:39 +0200)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Wed, 11 May 2022 15:33:21 +0000 (16:33 +0100)
commit71fb88c82bf3b94d8141d832c7fa5c9bd646c7c2
treec767249bd67b7d30d0170a86985ce1246edc2774
parent6e44a5c35d120e6b213c356b23a7ecda78b03d3f
drm/vc4: plane: Register a different drm_plane_helper_funcs on BCM2711

On the BCM2711, our current definition of drm_plane_helper_funcs uses
the custom vc4_prepare_fb() and vc4_cleanup_fb().

Those functions rely on the buffer allocation path that was relying on
the GPU, and is no longer relevant.

Let's create another drm_plane_helper_funcs structure that we will
register on the BCM2711.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_plane.c