diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2020-12-10 18:38:45 +0300 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2021-01-04 14:59:34 +0300 |
commit | 16da8e9a7767ac77720f49bfa870def61a250cda (patch) | |
tree | e1dad4b213a7cf389877df1cf48725acdbabfceb /drivers/gpu/drm/drm_crtc.c | |
parent | 699e7e543f1a7cc5a28159832e9a28261bc9e6be (diff) | |
download | linux-16da8e9a7767ac77720f49bfa870def61a250cda.tar.xz |
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_crtc.c')
0 files changed, 0 insertions, 0 deletions