dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] More header rework
@ 2014-09-23 13:46 Daniel Vetter
  2014-09-23 13:46 ` [PATCH 1/8] drm/<ttm-based-drivers>: Don't call drm_mmap Daniel Vetter
                   ` (9 more replies)
  0 siblings, 10 replies; 26+ messages in thread
From: Daniel Vetter @ 2014-09-23 13:46 UTC (permalink / raw)
  To: DRI Development; +Cc: Daniel Vetter

So the main part here is the extraction of drm_gem.h. With a bit of prep work to
ditch the legacy mmap stuff out of gem/ttm drivers. Plus a few random pieces of
leftover cleanup that I've missed in my earlier header rework or just stumbled
over while working on this.

With this drmP.h really starts to look rather sane (it's just 1kloc now),
besides maybe the uppercase P in it's name and the massive list of headers it
includes.

As usual comments and review highly welcome. I'll probably try to still throw
this at Dave for 3.18 and see whether he rejects it or not. Otherwise no harm to
postpone this until 3.19 (but David Herrrmann said he's got more work on his
todo in this area, so merging earlier might avoid conflicts).

Cheers, Daniel

Daniel Vetter (8):
  drm/<ttm-based-drivers>: Don't call drm_mmap
  drm/gem: Don't call drm_mmap from drm_gem_mmap
  drm: move drm_mmap to <drm/drm_legacy.h>
  drm: Move drm_vm_open_locked into drm_internal.h
  drm: Move leftover ioctl declarations to drm_internal.h
  drm: Move internal debugfs functions to drm_internal.h
  drm: Extract <drm/drm_gem.h>
  drm/doc: Fixup drm_irq kerneldoc includes.

 Documentation/DocBook/drm.tmpl          |   2 +-
 drivers/gpu/drm/armada/armada_gem.h     |   2 +
 drivers/gpu/drm/ast/ast_drv.h           |   2 +
 drivers/gpu/drm/ast/ast_ttm.c           |   2 +-
 drivers/gpu/drm/bochs/bochs.h           |   2 +
 drivers/gpu/drm/bochs/bochs_mm.c        |   2 +-
 drivers/gpu/drm/cirrus/cirrus_drv.h     |   2 +
 drivers/gpu/drm/cirrus/cirrus_ttm.c     |   2 +-
 drivers/gpu/drm/drm_gem.c               |   3 +-
 drivers/gpu/drm/drm_info.c              |   2 +
 drivers/gpu/drm/drm_internal.h          |  39 ++++++-
 drivers/gpu/drm/drm_prime.c             |   2 +
 drivers/gpu/drm/drm_vm.c                |   7 +-
 drivers/gpu/drm/exynos/exynos_drm_gem.h |   2 +
 drivers/gpu/drm/gma500/gtt.h            |   1 +
 drivers/gpu/drm/i810/i810_drv.c         |   2 +-
 drivers/gpu/drm/i915/i915_drv.h         |   1 +
 drivers/gpu/drm/mga/mga_drv.c           |   2 +-
 drivers/gpu/drm/mgag200/mgag200_drv.h   |   2 +
 drivers/gpu/drm/mgag200/mgag200_ttm.c   |   2 +-
 drivers/gpu/drm/msm/msm_drv.h           |   1 +
 drivers/gpu/drm/nouveau/nouveau_bo.h    |   2 +
 drivers/gpu/drm/nouveau/nouveau_ttm.c   |   2 +-
 drivers/gpu/drm/omapdrm/omap_drv.h      |   1 +
 drivers/gpu/drm/qxl/qxl_drv.h           |   2 +
 drivers/gpu/drm/qxl/qxl_ttm.c           |   2 +-
 drivers/gpu/drm/r128/r128_drv.c         |   2 +-
 drivers/gpu/drm/radeon/radeon.h         |   2 +
 drivers/gpu/drm/radeon/radeon_drv.c     |   4 +-
 drivers/gpu/drm/radeon/radeon_ttm.c     |   2 +-
 drivers/gpu/drm/savage/savage_drv.c     |   2 +-
 drivers/gpu/drm/sis/sis_drv.c           |   2 +-
 drivers/gpu/drm/tdfx/tdfx_drv.c         |   3 +-
 drivers/gpu/drm/tegra/gem.h             |   1 +
 drivers/gpu/drm/udl/udl_drv.h           |   1 +
 drivers/gpu/drm/via/via_drv.c           |   2 +-
 include/drm/drmP.h                      | 182 +------------------------------
 include/drm/drm_gem.h                   | 183 ++++++++++++++++++++++++++++++++
 include/drm/drm_gem_cma_helper.h        |   1 +
 include/drm/drm_legacy.h                |   1 +
 40 files changed, 276 insertions(+), 203 deletions(-)
 create mode 100644 include/drm/drm_gem.h

-- 
2.1.0

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

end of thread, other threads:[~2014-09-23 23:42 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-23 13:46 [PATCH 0/8] More header rework Daniel Vetter
2014-09-23 13:46 ` [PATCH 1/8] drm/<ttm-based-drivers>: Don't call drm_mmap Daniel Vetter
2014-09-23 14:05   ` David Herrmann
2014-09-23 15:30   ` Christian König
2014-09-23 21:38   ` Jerome Glisse
2014-09-23 21:53     ` David Herrmann
2014-09-23 21:57       ` Jerome Glisse
2014-09-23 23:42   ` Ben Skeggs
2014-09-23 13:46 ` [PATCH 2/8] drm/gem: Don't call drm_mmap from drm_gem_mmap Daniel Vetter
2014-09-23 14:06   ` David Herrmann
2014-09-23 13:46 ` [PATCH 3/8] drm: move drm_mmap to <drm/drm_legacy.h> Daniel Vetter
2014-09-23 14:12   ` David Herrmann
2014-09-23 13:46 ` [PATCH 4/8] drm: Move drm_vm_open_locked into drm_internal.h Daniel Vetter
2014-09-23 14:15   ` David Herrmann
2014-09-23 14:21     ` Daniel Vetter
2014-09-23 13:46 ` [PATCH 5/8] drm: Move leftover ioctl declarations to drm_internal.h Daniel Vetter
2014-09-23 14:16   ` David Herrmann
2014-09-23 13:46 ` [PATCH 6/8] drm: Move internal debugfs functions " Daniel Vetter
2014-09-23 14:21   ` David Herrmann
2014-09-23 13:46 ` [PATCH 7/8] drm: Extract <drm/drm_gem.h> Daniel Vetter
2014-09-23 14:22   ` David Herrmann
2014-09-23 13:46 ` [PATCH 8/8] drm/doc: Fixup drm_irq kerneldoc includes Daniel Vetter
2014-09-23 14:22   ` David Herrmann
2014-09-23 14:25     ` Daniel Vetter
2014-09-23 14:24 ` [PATCH 0/8] More header rework David Herrmann
2014-09-23 15:11 ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).