]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: plane: Register a different drm_plane_helper_funcs on BCM2711
authorMaxime Ripard <maxime@cerno.tech>
Fri, 10 Jun 2022 11:51:42 +0000 (13:51 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 16 Jun 2022 09:07:51 +0000 (11:07 +0200)
commitf93f4abfde2a57d8429fc3620aa5c0e76910fe61
treea72527082e18606c8d8ee3debcd5066a7aa34040
parenteb50c5e5fef1538989650c3269177777430eb58a
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.

Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220610115149.964394-8-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_plane.c