All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/19] drm de-midlayer, part 1: device list and agp bus stuff
@ 2013-11-03 13:31 Daniel Vetter
  2013-11-03 13:31 ` [PATCH 01/19] drm/rcar: call drm_put_dev directly in the ->remove hook Daniel Vetter
                   ` (18 more replies)
  0 siblings, 19 replies; 41+ messages in thread
From: Daniel Vetter @ 2013-11-03 13:31 UTC (permalink / raw)
  To: DRI Development; +Cc: Daniel Vetter

Hi all,

So at ks there was a lot of talk about fixing up the drm device model to stop
insanity like imx. And I kinda promised Dave to resurrect my latest branch at
drm demidlayering - motivation kinda dissipated when I've started this a few
moons back.

So this is the first part. Patches 1-11 rework the device list. The ugly part is
that drm_platform_exit survived from the horrible days of shadow attache despite
that no platform drm driver with shadow attach was ever merged. And everyone
dutifully copypasted the crap out of this. Compiletested for all drm drivers
that work with arm multiplatforms. Luckily that now includes exynons (yay), but
the new kid msm on the block fails this (shame on Rob).

The remaining stuff flattens some of the agp indirection madness away. Plus a
tiny patch in between as a follow-up cleanup for David's vma offset manager
work. Also includes one patch from David, rebased into my series.

Next up on my plan is to get rid of drm_bus completely. I already have a plan
for the irq stuff and a few patches, which leaves the setversion/busid/...
bonghits madness. But that's luckily constraint to the drm core.

Once that's settled I think we can start to untangle the driver load/setup vs.
interface registration mess. David&Dave already have patches to play around with
that. Then we need to untangle all the drm lifetime rules around open files,
mmaps, sysfs and debugfs files so that finally we can try to fix the driver
unload madness. Or at least that's my overtly optimistic plan.

Flames, comments and more good&dry wood for the pyre highly welcome.

Cheers, Daniel

Daniel Vetter (18):
  drm/rcar: call drm_put_dev directly in the ->remove hook
  drm/exynos: call drm_put_dev directly from ->remove
  drm/imx: directly call drm_put_dev in ->remove
  drm/tilcdc: call drm_put_dev directly from ->remove
  drm/omap: call drm_put_dev directly in ->remove
  drm/shmob: call drm_put_dev directly from ->remove hook
  drm/host1x: Call drm_put_dev directly instead of drm_platform_exit
  drm/armada: directly call drm_put_dev in ->remove
  drm/msm: call drm_put_dev directly in ->remove
  drm: rip out drm_platform_exit
  drm: restrict the device list for shadow attached drivers
  drm/bufs: remove handling of _DRM_GEM mappings
  drm: kill DRIVER_REQUIRE_AGP
  drm: ->agp_init can't fail
  drm: rip out drm_core_has_AGP
  drm: inline drm_agp_destroy
  drm: kill the ->agp_destroy callback
  drm: remove global_mutex locking around agp_init

David Herrmann (1):
  drm: remove agp_init() bus callback

 drivers/gpu/drm/armada/armada_drv.c      |  3 ++-
 drivers/gpu/drm/drm_agpsupport.c         | 17 +-------------
 drivers/gpu/drm/drm_bufs.c               | 10 ++-------
 drivers/gpu/drm/drm_memory.c             |  9 +++-----
 drivers/gpu/drm/drm_pci.c                | 38 +++++++++++++++++---------------
 drivers/gpu/drm/drm_platform.c           | 12 ----------
 drivers/gpu/drm/drm_stub.c               | 19 +++-------------
 drivers/gpu/drm/drm_usb.c                |  1 -
 drivers/gpu/drm/drm_vm.c                 |  7 ++----
 drivers/gpu/drm/exynos/exynos_drm_drv.c  |  4 +++-
 drivers/gpu/drm/i810/i810_dma.c          |  4 ++++
 drivers/gpu/drm/i810/i810_drv.c          |  2 +-
 drivers/gpu/drm/i915/i915_dma.c          |  5 +++++
 drivers/gpu/drm/i915/i915_drv.c          |  5 ++---
 drivers/gpu/drm/msm/msm_drv.c            |  2 +-
 drivers/gpu/drm/omapdrm/omap_drv.c       |  4 ++--
 drivers/gpu/drm/radeon/radeon_ttm.c      |  2 +-
 drivers/gpu/drm/rcar-du/rcar_du_drv.c    |  4 +++-
 drivers/gpu/drm/shmobile/shmob_drm_drv.c |  4 +++-
 drivers/gpu/drm/tilcdc/tilcdc_drv.c      |  2 +-
 drivers/gpu/host1x/drm/drm.c             |  3 +--
 drivers/staging/imx-drm/imx-drm-core.c   |  4 +++-
 include/drm/drmP.h                       | 13 ++++-------
 include/drm/drm_agpsupport.h             | 17 --------------
 include/uapi/drm/drm.h                   |  1 -
 25 files changed, 67 insertions(+), 125 deletions(-)

-- 
1.8.4.rc3

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

end of thread, other threads:[~2013-11-04 10:52 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-03 13:31 [PATCH 00/19] drm de-midlayer, part 1: device list and agp bus stuff Daniel Vetter
2013-11-03 13:31 ` [PATCH 01/19] drm/rcar: call drm_put_dev directly in the ->remove hook Daniel Vetter
2013-11-03 13:47   ` Laurent Pinchart
2013-11-03 13:31 ` [PATCH 02/19] drm/exynos: call drm_put_dev directly from ->remove Daniel Vetter
2013-11-03 13:31 ` [PATCH 03/19] drm/imx: directly call drm_put_dev in ->remove Daniel Vetter
2013-11-04  8:19   ` Sascha Hauer
2013-11-03 13:31 ` [PATCH 04/19] drm/tilcdc: call drm_put_dev directly from ->remove Daniel Vetter
2013-11-03 13:31 ` [PATCH 05/19] drm/omap: call drm_put_dev directly in ->remove Daniel Vetter
2013-11-03 13:31 ` [PATCH 06/19] drm/shmob: call drm_put_dev directly from ->remove hook Daniel Vetter
2013-11-03 13:31 ` [PATCH 07/19] drm/host1x: Call drm_put_dev directly instead of drm_platform_exit Daniel Vetter
2013-11-04  9:10   ` Thierry Reding
2013-11-04  9:13     ` Thierry Reding
2013-11-04 10:14     ` Daniel Vetter
2013-11-04 10:51       ` Thierry Reding
2013-11-03 13:31 ` [PATCH 08/19] drm/armada: directly call drm_put_dev in ->remove Daniel Vetter
2013-11-03 13:31 ` [PATCH 09/19] drm/msm: call drm_put_dev directly " Daniel Vetter
2013-11-03 13:31 ` [PATCH 10/19] drm: rip out drm_platform_exit Daniel Vetter
2013-11-03 13:31 ` [PATCH 11/19] drm: restrict the device list for shadow attached drivers Daniel Vetter
2013-11-03 14:05   ` David Herrmann
2013-11-03 14:14     ` Daniel Vetter
2013-11-03 18:51       ` [PATCH] " Daniel Vetter
2013-11-04  9:20       ` [PATCH 11/19] " Thierry Reding
2013-11-03 13:31 ` [PATCH 12/19] drm/bufs: remove handling of _DRM_GEM mappings Daniel Vetter
2013-11-03 14:06   ` David Herrmann
2013-11-03 13:31 ` [PATCH 13/19] drm: kill DRIVER_REQUIRE_AGP Daniel Vetter
2013-11-03 13:31 ` [PATCH 14/19] drm: ->agp_init can't fail Daniel Vetter
2013-11-03 14:12   ` David Herrmann
2013-11-03 13:31 ` [PATCH 15/19] drm: rip out drm_core_has_AGP Daniel Vetter
2013-11-03 13:31 ` [PATCH 16/19] drm: remove agp_init() bus callback Daniel Vetter
2013-11-03 14:14   ` David Herrmann
2013-11-03 14:20     ` Daniel Vetter
2013-11-03 14:42       ` [PATCH] " Daniel Vetter
2013-11-03 13:31 ` [PATCH 17/19] drm: inline drm_agp_destroy Daniel Vetter
2013-11-03 13:43   ` David Herrmann
2013-11-03 14:36     ` Daniel Vetter
2013-11-03 13:31 ` [PATCH 18/19] drm: kill the ->agp_destroy callback Daniel Vetter
2013-11-03 13:49   ` David Herrmann
2013-11-03 14:24     ` [PATCH] " Daniel Vetter
2013-11-03 14:34       ` David Herrmann
2013-11-03 17:32         ` Daniel Vetter
2013-11-03 13:31 ` [PATCH 19/19] drm: remove global_mutex locking around agp_init Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.