[PATCH 09/15] drm/armada: Remove prepare/cleanup_fb hooks

Maxime Ripard maxime at cerno.tech
Thu Jun 24 12:46:18 UTC 2021


On Tue, Jun 22, 2021 at 06:55:05PM +0200, Daniel Vetter wrote:
> 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()
> 
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> Cc: Russell King <linux at armlinux.org.uk>

Acked-by: Maxime Ripard <maxime at cerno.tech>

Maxime


More information about the dri-devel mailing list