aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_plane.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2020-12-10 16:38:45 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2021-01-04 12:59:34 +0100
commit16da8e9a7767ac77720f49bfa870def61a250cda (patch)
treee1dad4b213a7cf389877df1cf48725acdbabfceb /drivers/gpu/drm/drm_plane.c
parentdrm/imx: ipuv3-plane: use drm managed resources (diff)
downloadlinux-dev-16da8e9a7767ac77720f49bfa870def61a250cda.tar.xz
linux-dev-16da8e9a7767ac77720f49bfa870def61a250cda.zip
drm/imx: ipuv3-crtc: use drm managed resources
Use use drmm_crtc_alloc_with_planes() to align crtc memory lifetime with the drm device. drm_crtc_cleanup() is called automatically before the memory is freed. Also use drmm_add_action_or_reset() to make sure IPU resources are released automatically. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_plane.c')
0 files changed, 0 insertions, 0 deletions