From: Daniel Vetter <daniel.vetter@ffwll.ch>
To: DRI Development <dri-devel@lists.freedesktop.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Subject: [PATCH 0/8] More header rework
Date: Tue, 23 Sep 2014 15:46:46 +0200 [thread overview]
Message-ID: <1411480014-10138-1-git-send-email-daniel.vetter@ffwll.ch> (raw)
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
next reply other threads:[~2014-09-23 13:47 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-23 13:46 Daniel Vetter [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1411480014-10138-1-git-send-email-daniel.vetter@ffwll.ch \
--to=daniel.vetter@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).