Skip to content

drm/drv: Rework drm_dev_unplug() (was: Remove drm_dev_unplug())

Noralf Trønnes amd-gfx dri-devel intel-gfx 1 version Applied

Status from this message: Applied to drm-misc-next, thanks for reviewing.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 3 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2drm: Fix drm_release() and device unplugdrivers/gpu/drm/drm_drv.c drivers/gpu/drm/drm_file.c+3 -90 replies
2/2drm/drv: drm_dev_unplug(): Move out drm_dev_put() calldrivers/gpu/drm/amd/amdgpu/amdgpu_drv.c drivers/gpu/drm/drm_drv.c drivers/gpu/drm/udl/udl_drv.c +1 more+3 -12 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchOleksandr AndrushchenkoDaniel VetterSean Paul
1/2R-b R-b R-b
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] drm/drv: Rework drm_dev_unplug() (was: Remove drm_dev_unplug())

This series makes drm_dev_unplug() compatible with the upcoming devm_drm_dev_init(), fixes a double drm_dev_unregister() situation and simplifies the drm_device ref handling wrt to the last fd closed after unregister.

The first version of this patchset removed drm_dev_unplug(), see here for the discussion as to why it is kept for the time being:

[2/6] drm/drv: Prepare to remove drm_dev_unplug()
https://patchwork.freedesktop.org/patch/282902/

Noralf.

Noralf Trønnes (2):
drm: Fix drm_release() and device unplug drm/drv: drm_dev_unplug(): Move out drm_dev_put() call

 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 +
 drivers/gpu/drm/drm_drv.c               | 5 -----
 drivers/gpu/drm/drm_file.c              | 6 ++----
 drivers/gpu/drm/udl/udl_drv.c           | 1 +
 drivers/gpu/drm/xen/xen_drm_front.c     | 1 +
 5 files changed, 5 insertions(+), 9 deletions(-)
Signature · 6 lines
2.20.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx