Skip to content

drm/drv: Remove drm_dev_unplug()

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm: Fix drm_release() and device unplugdrivers/gpu/drm/drm_drv.c drivers/gpu/drm/drm_file.c+3 -92 replies
2/6drm/drv: Prepare to remove drm_dev_unplug()drivers/gpu/drm/drm_drv.c include/drm/drm_drv.h+19 -1813 replies
3/6drm/amd: Use drm_dev_unregister()drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c+2 -10 replies
4/6drm/udl: Use drm_dev_unregister()drivers/gpu/drm/udl/udl_drv.c+2 -11 reply
5/6drm/xen: Use drm_dev_unregister()drivers/gpu/drm/xen/xen_drm_front.c+2 -52 replies
6/6drm/drv: Remove drm_dev_unplug()drivers/gpu/drm/drm_drv.c include/drm/drm_drv.h+0 -182 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDaniel VetterOleksandr AndrushchenkoSean Paul
SeriesR-b
1/6R-b R-b
2/6R-b R-b R-b
3/6
4/6R-b
5/6
6/6R-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 v1 thread

Cover letter [PATCH 0/6] drm/drv: Remove drm_dev_unplug()

This series removes drm_dev_unplug() and moves the unplugged state setting to drm_dev_unregister(). All drivers will now have access to the unplugged state if they so desire.

The drm_device ref handling wrt to the last fd closed after unregister have been simplified, which also fixed a double drm_dev_unregister() situation.

Noralf.

Noralf Trønnes (6):
drm: Fix drm_release() and device unplug
drm/drv: Prepare to remove drm_dev_unplug()
drm/amd: Use drm_dev_unregister()
drm/udl: Use drm_dev_unregister()
drm/xen: Use drm_dev_unregister()
drm/drv: Remove drm_dev_unplug()

 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c |  3 +-
 drivers/gpu/drm/drm_drv.c               | 48 ++++++++-----------------
 drivers/gpu/drm/drm_file.c              |  6 ++--
 drivers/gpu/drm/udl/udl_drv.c           |  3 +-
 drivers/gpu/drm/xen/xen_drm_front.c     |  7 ++--
 include/drm/drm_drv.h                   | 11 +++---
 6 files changed, 27 insertions(+), 51 deletions(-)
Signature · 6 lines
2.20.1

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