]> git.baikalelectronics.ru Git - kernel.git/commit
drm/drv: drm_dev_unplug(): Move out drm_dev_put() call
authorNoralf Trønnes <noralf@tronnes.org>
Fri, 8 Feb 2019 14:01:03 +0000 (15:01 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Thu, 21 Feb 2019 11:11:58 +0000 (12:11 +0100)
commit7c25b72c13846d717b4bf79f89c6ec674b553d80
tree147d6bf0351032fbbf4a7c314f2f77493b9e7c37
parentd1649406e78ea59eeed8af0cd7f2003f59a6ee64
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
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/drm_drv.c
drivers/gpu/drm/udl/udl_drv.c
drivers/gpu/drm/xen/xen_drm_front.c