diff options
| author | Daniel Vetter <[email protected]> | 2020-09-07 08:22:25 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2020-09-11 08:47:19 +0000 |
| commit | 075342ea3d93044d68f821cf91c1a1a7d2fa569e (patch) | |
| tree | 2d1f371444d261bb7ffc7edcc7ce9ca64b4deb08 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/vkms: Use devm_drm_dev_alloc (diff) | |
| download | kernel-075342ea3d93044d68f821cf91c1a1a7d2fa569e.tar.gz kernel-075342ea3d93044d68f821cf91c1a1a7d2fa569e.zip | |
drm/xlnx: Use devm_drm_dev_alloc
Gets rid of drmm_add_final_kfree, which I want to unexport so that it
stops confusion people about this transitional state of rolling drm
managed memory out.
This also fixes the missing drm_dev_put in the error path of the probe
code.
v2: Drop the misplaced drm_dev_put from zynqmp_dpsub_drm_init (all
other paths leaked on error, this should have been in
zynqmp_dpsub_probe), now that subsumed by the auto-cleanup of
devm_drm_dev_alloc.
Reviewed-by: Hyun Kwon <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Hyun Kwon <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: [email protected]
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
