OSDN Git Service

drm/vc4: plane: Switch to drmm_universal_plane_alloc()
authorMaxime Ripard <maxime@cerno.tech>
Mon, 11 Jul 2022 17:38:49 +0000 (19:38 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 13 Jul 2022 08:46:07 +0000 (10:46 +0200)
commit9872c7a319219346d30a0862424e5495a4e97e0e
treebc4036931a55676f71bd0c4730381548b3c3993a
parent02792a93103a99abc611e36cdeda9bcfa8924fd2
drm/vc4: plane: Switch to drmm_universal_plane_alloc()

Let's switch to drmm_universal_plane_alloc() for our plane allocation and
initialisation to make the driver a bit simpler.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220711173939.1132294-20-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_crtc.c
drivers/gpu/drm/vc4/vc4_plane.c