dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel.vetter@ffwll.ch>
To: Dave Airlie <airlied@gmail.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
	intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: [PULL] topic/drm-header-rework
Date: Fri, 12 Sep 2014 17:38:47 +0200	[thread overview]
Message-ID: <20140912153813.GA23332@phenom.ffwll.local> (raw)

Hi Dave,

So here's the header cleanup, rebased on top of drm-next. Two new header
files are created here:

- drivers/gpu/drm/drm_internal.h for non-legacy drm.ko private
  declarations.

- include/drm/drm_legacy.h for legacy interfaces used by non-kms drivers.

And of course lots fo stuff gets shuffled into the already existing
drivers/gpu/drm/drm_legacy.h for drm.ko internal stuff.

topic branch smoke-tested in drm-intel-nightly for a bit. And the 0day
tester also worked through it (and found a few places I didn't add a
static to functions).

There's still two pull requests besides that one:
- topic/core-stuff, as usual - I'll send you that soon
- Last i915 feature pull for 3.18 which will happen only in a week. As
  discussed on irc QA needs that to test it, but otherwise it's frozen and
  already in linux-next anyway.

Cheers, Daniel


The following changes since commit edbaae5a5cab89de0e64b8c03ebd9a8d5d266550:

  Merge tag 'topic/vblank-rework-2014-09-12' of git://anongit.freedesktop.org/drm-intel into drm-next (2014-09-12 19:04:53 +1000)

are available in the git repository at:

  git://anongit.freedesktop.org/drm-intel tags/topic/drm-header-rework-2014-09-12

for you to fetch changes up to 6865b20ad354548a045c74a388eb37afe1ad5174:

  drm: Move DRM_MAGIC_HASH_ORDER into drm_drv.c (2014-09-12 15:28:14 +0200)

----------------------------------------------------------------
Daniel Vetter (15):
      drm: Move dma functions into drm_legacy.h
      drm: Move sg functions into drm_legacy.h
      drm: Move drm_legacy_vma_flush into drm_legacy.h
      drm: Create drm legacy driver header
      drm: Move __drm_pci_free to drm_legacy.h
      drm: Drop drm_sysfs_class from drmP.h
      drm: Move vblank related module options into drm_irq.c
      drm: Move piles of functions from drmP.h to drm_internal.h
      drm: unexport drm_global_mutex
      drm: Purge ioctl forward declarations from drmP.h
      drm: Move drm_memory.c map support declarations to <drm/drm_legacy.h>
      drm: Move legacy buffer structures to <drm/drm_legacy.h>
      drm: Move LOCK_TEST_WITH_RETURN to <drm/drm_legacy.h>
      drm: Move drm_class to drm_internal.h
      drm: Move DRM_MAGIC_HASH_ORDER into drm_drv.c

 drivers/gpu/drm/drm_auth.c            |   1 +
 drivers/gpu/drm/drm_bufs.c            |   4 +-
 drivers/gpu/drm/drm_crtc.c            |   1 +
 drivers/gpu/drm/drm_debugfs.c         |   1 +
 drivers/gpu/drm/drm_dma.c             |  11 +-
 drivers/gpu/drm/drm_drv.c             |  16 +-
 drivers/gpu/drm/drm_fops.c            |   4 +-
 drivers/gpu/drm/drm_gem.c             |   1 +
 drivers/gpu/drm/drm_info.c            |   1 +
 drivers/gpu/drm/drm_internal.h        |  95 ++++++++++++
 drivers/gpu/drm/drm_ioctl.c           | 247 +++++++++++++++---------------
 drivers/gpu/drm/drm_irq.c             |  15 ++
 drivers/gpu/drm/drm_legacy.h          |  18 +++
 drivers/gpu/drm/drm_lock.c            |   1 +
 drivers/gpu/drm/drm_memory.c          |  12 +-
 drivers/gpu/drm/drm_pci.c             |   5 +-
 drivers/gpu/drm/drm_prime.c           |   1 +
 drivers/gpu/drm/drm_scatter.c         |   9 +-
 drivers/gpu/drm/drm_sysfs.c           |   1 +
 drivers/gpu/drm/drm_vm.c              |   2 +-
 drivers/gpu/drm/i810/i810_dma.c       |  12 +-
 drivers/gpu/drm/i810/i810_drv.h       |   2 +
 drivers/gpu/drm/i915/i915_dma.c       |   1 +
 drivers/gpu/drm/i915/i915_drv.h       |   9 +-
 drivers/gpu/drm/mga/mga_dma.c         |  28 ++--
 drivers/gpu/drm/mga/mga_drv.h         |   2 +
 drivers/gpu/drm/mgag200/mgag200_drv.h |   2 -
 drivers/gpu/drm/r128/r128_cce.c       |  22 +--
 drivers/gpu/drm/r128/r128_drv.h       |   2 +
 drivers/gpu/drm/radeon/r600_cp.c      |  24 +--
 drivers/gpu/drm/radeon/radeon_cp.c    |  24 +--
 drivers/gpu/drm/radeon/radeon_drv.h   |   1 +
 drivers/gpu/drm/savage/savage_bci.c   |  16 +-
 drivers/gpu/drm/savage/savage_drv.h   |   2 +
 drivers/gpu/drm/sis/sis_drv.h         |   2 +
 drivers/gpu/drm/via/via_dma.c         |   4 +-
 drivers/gpu/drm/via/via_drv.h         |   2 +
 drivers/gpu/drm/via/via_map.c         |   4 +-
 drivers/gpu/drm/via/via_verifier.c    |   1 +
 include/drm/ati_pcigart.h             |   2 +
 include/drm/drmP.h                    | 279 ++--------------------------------
 include/drm/drm_legacy.h              | 202 ++++++++++++++++++++++++
 42 files changed, 588 insertions(+), 501 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_internal.h
 create mode 100644 include/drm/drm_legacy.h

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

                 reply	other threads:[~2014-09-12 15:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20140912153813.GA23332@phenom.ffwll.local \
    --to=daniel.vetter@ffwll.ch \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@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