drm/drv: drm_dev_unplug(): Move out drm_dev_put() call
This makes it possible to use drm_dev_unplug() with the upcoming devm_drm_dev_init() which will do drm_dev_put() in its release callback. Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Christian König <christian.koenig@amd.com> Cc: David (ChunMing) Zhou <David1.Zhou@amd.com> Cc: Dave Airlie <airlied@redhat.com> Cc: Sean Paul <sean@poorly.run> Cc: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by:Noralf Trønnes <noralf@tronnes.org> Acked-by:
Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Reviewed-by:
Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20190208140103.28919-3-noralf@tronnes.org
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c 1 addition, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
- drivers/gpu/drm/drm_drv.c 0 additions, 1 deletiondrivers/gpu/drm/drm_drv.c
- drivers/gpu/drm/udl/udl_drv.c 1 addition, 0 deletionsdrivers/gpu/drm/udl/udl_drv.c
- drivers/gpu/drm/xen/xen_drm_front.c 1 addition, 0 deletionsdrivers/gpu/drm/xen/xen_drm_front.c
Loading
Please register or sign in to comment