Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/drv: Rework drm_dev_unplug() (was: Remove drm_dev_unplug())
@ 2019-02-08 14:01 Noralf Trønnes
       [not found] ` <20190208140103.28919-1-noralf-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Noralf Trønnes @ 2019-02-08 14:01 UTC (permalink / raw)
  To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
  Cc: David1.Zhou-5C7GfCeVMHo, Andrey.Grodzovsky-5C7GfCeVMHo,
	oleksandr_andrushchenko-uRwfk40T5oI, daniel.vetter-/w4YWyX8dFk,
	intel-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Noralf Trønnes,
	alexander.deucher-5C7GfCeVMHo, airlied-H+wXaHxf7aLQT0dZR+AlfA,
	sean-p7yTbzM4H96eqtR555YLDQ, christian.koenig-5C7GfCeVMHo

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(-)

-- 
2.20.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-02-21 11:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-08 14:01 [PATCH v2 0/2] drm/drv: Rework drm_dev_unplug() (was: Remove drm_dev_unplug()) Noralf Trønnes
     [not found] ` <20190208140103.28919-1-noralf-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>
2019-02-08 14:01   ` [PATCH v2 1/2] drm: Fix drm_release() and device unplug Noralf Trønnes
2019-02-08 14:01   ` [PATCH v2 2/2] drm/drv: drm_dev_unplug(): Move out drm_dev_put() call Noralf Trønnes
2019-02-08 14:36     ` Oleksandr Andrushchenko
     [not found]     ` <20190208140103.28919-3-noralf-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>
2019-02-11  8:28       ` Daniel Vetter
2019-02-08 15:54 ` ✓ Fi.CI.BAT: success for drm/drv: Rework drm_dev_unplug() (was: Remove drm_dev_unplug()) Patchwork
2019-02-08 18:45 ` ✓ Fi.CI.IGT: " Patchwork
2019-02-21 11:31 ` [PATCH v2 0/2] " Noralf Trønnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox