aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorPhilipp Zabel <[email protected]>2020-12-10 16:38:44 +0100
committerPhilipp Zabel <[email protected]>2021-01-04 12:59:34 +0100
commit699e7e543f1a7cc5a28159832e9a28261bc9e6be (patch)
treecb27d492403bc7d94a1986181060fb25eeda76c3 /lib/mpi/mpi-sub-ui.c
parentc0ad88a9d8e53d63859e5b692b319c1a1a173917 (diff)
drm/imx: ipuv3-plane: use drm managed resources
Use drmm_universal_plane_alloc() to align plane memory lifetime with the drm device. drm_plane_cleanup() is called automatically before the memory is freed. Also move the call to ipu_plane_get_resources() into ipu_plane_init() and use drm managed resources to put IPU resources automatically when required. Handle error return values of the plane property creation functions. Signed-off-by: Philipp Zabel <[email protected]> Acked-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions