diff options
author | Philipp Zabel | 2020-12-10 16:38:45 +0100 |
---|---|---|
committer | Philipp Zabel | 2021-01-04 12:59:34 +0100 |
commit | 16da8e9a7767ac77720f49bfa870def61a250cda (patch) | |
tree | e1dad4b213a7cf389877df1cf48725acdbabfceb /drivers/gpu/drm/imx/imx-ldb.c | |
parent | 699e7e543f1a7cc5a28159832e9a28261bc9e6be (diff) |
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/imx/imx-ldb.c')
0 files changed, 0 insertions, 0 deletions