diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2020-12-10 16:38:44 +0100 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2021-01-04 12:59:34 +0100 |
commit | 699e7e543f1a7cc5a28159832e9a28261bc9e6be (patch) | |
tree | cb27d492403bc7d94a1986181060fb25eeda76c3 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | c0ad88a9d8e53d63859e5b692b319c1a1a173917 (diff) | |
download | linux-699e7e543f1a7cc5a28159832e9a28261bc9e6be.tar.bz2 |
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 <p.zabel@pengutronix.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions