OSDN Git Service

drm/armada: Remove prepare/cleanup_fb hooks
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 22 Jun 2021 16:55:05 +0000 (18:55 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Jun 2021 13:35:50 +0000 (15:35 +0200)
commit1a8961307af6791cd7db3ecddf7841750ab84ea2
tree22b8f2e3104007070e1b7607464223da039d0e55
parent29a840842743d3ac20a3ac93d4f32fa9db503b9f
drm/armada: Remove prepare/cleanup_fb hooks

All they do is refcount the fb, which the atomic helpers already do.

This is was necessary with the legacy helpers and I guess just carry
over in the conversion. drm_plane_state always has a full reference
for its ->fb pointer during its entire lifetime,
see __drm_atomic_helper_plane_destroy_state()

Acked-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Russell King <linux@armlinux.org.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20210622165511.3169559-10-daniel.vetter@ffwll.ch
drivers/gpu/drm/armada/armada_overlay.c
drivers/gpu/drm/armada/armada_plane.c
drivers/gpu/drm/armada/armada_plane.h