intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/16] more drmP.h cleanup
@ 2017-03-22  8:36 Daniel Vetter
  2017-03-22  8:36 ` [PATCH 01/16] drm: drop extern from function decls Daniel Vetter
                   ` (16 more replies)
  0 siblings, 17 replies; 57+ messages in thread
From: Daniel Vetter @ 2017-03-22  8:36 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter, DRI Development

Hi all,

So yeah this takes a bit longer than I hoped, but here's a few more things split
out from drmP.h and properly documented. The vblank stuff took a bit a detour,
since I opted to refactor stuff away instead of documenting it.

What's now left in drmP.h is struct drm_device and all the various debug
printing stuff.

Cheers, Daniel

Daniel Vetter (16):
  drm: drop extern from function decls
  drm: Extract drm_debugfs.h
  drm: document driver interface for CRC capturing
  drm/debugfs: Add kerneldoc
  drm: update todo.rst
  drm: Consolidate and document sysfs support
  drm: Extract drm_ioctl.h
  drm: document drm_ioctl.[hc]
  drm/todo: Add tinydrm refactoring ideas
  drm/vblank: Remove DRM_VBLANKTIME_IN_VBLANK
  drm/vblank: Switch drm_driver->get_vblank_timestamp to return a bool
  drm/vblank: Switch to bool in_vblank_irq in get_vblank_timestamp
  drm/vblank: Add FIXME comments about moving the vblank ts hooks
  drm/vblank: drop the mode argument from
    drm_calc_vbltimestamp_from_scanoutpos
  drm/vblank: Simplify the get_scanout_position helper hook
  drm/doc: Small markup fixup

 Documentation/gpu/drm-internals.rst       |  50 --------
 Documentation/gpu/drm-uapi.rst            |  36 ++++++
 Documentation/gpu/todo.rst                | 139 +++++++++++++++-------
 drivers/gpu/drm/amd/amdgpu/amdgpu.h       |   4 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c   |  14 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c   |  41 -------
 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h  |   3 +
 drivers/gpu/drm/drm_debugfs.c             |  56 ++-------
 drivers/gpu/drm/drm_debugfs_crc.c         |  17 +--
 drivers/gpu/drm/drm_internal.h            |   2 +-
 drivers/gpu/drm/drm_ioc32.c               |   1 -
 drivers/gpu/drm/drm_ioctl.c               |  46 ++++++++
 drivers/gpu/drm/drm_irq.c                 | 121 ++++++++++---------
 drivers/gpu/drm/drm_probe_helper.c        |   2 +-
 drivers/gpu/drm/drm_sysfs.c               |  70 +++++------
 drivers/gpu/drm/i915/i915_irq.c           |  52 ++-------
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c   |  45 ++-----
 drivers/gpu/drm/nouveau/nouveau_display.c |  37 ++----
 drivers/gpu/drm/nouveau/nouveau_display.h |   8 +-
 drivers/gpu/drm/nouveau/nouveau_drm.c     |   2 +-
 drivers/gpu/drm/radeon/radeon_drv.c       |  18 ++-
 drivers/gpu/drm/radeon/radeon_kms.c       |  37 ------
 drivers/gpu/drm/radeon/radeon_mode.h      |   3 +
 drivers/gpu/drm/vc4/vc4_crtc.c            |  34 ++----
 drivers/gpu/drm/vc4/vc4_drv.c             |   2 +-
 drivers/gpu/drm/vc4/vc4_drv.h             |  11 +-
 include/drm/drmP.h                        | 120 +------------------
 include/drm/drm_crtc.h                    |   5 +-
 include/drm/drm_crtc_helper.h             |  38 +++---
 include/drm/drm_debugfs.h                 | 100 ++++++++++++++++
 include/drm/drm_drv.h                     |  56 ++++-----
 include/drm/drm_global.h                  |   8 +-
 include/drm/drm_hashtab.h                 |  20 ++--
 include/drm/drm_ioctl.h                   | 188 ++++++++++++++++++++++++++++++
 include/drm/drm_irq.h                     |  21 +++-
 include/drm/drm_of.h                      |  24 ++--
 include/drm/drm_pci.h                     |  22 ++--
 include/drm/drm_plane.h                   |  20 ++--
 include/drm/drm_prime.h                   |  30 ++---
 include/drm/drm_sysfs.h                   |  12 +-
 40 files changed, 785 insertions(+), 730 deletions(-)
 create mode 100644 include/drm/drm_debugfs.h
 create mode 100644 include/drm/drm_ioctl.h

-- 
2.11.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2017-04-04  9:54 UTC | newest]

Thread overview: 57+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-22  8:36 [PATCH 00/16] more drmP.h cleanup Daniel Vetter
2017-03-22  8:36 ` [PATCH 01/16] drm: drop extern from function decls Daniel Vetter
2017-03-22 19:27   ` Gabriel Krisman Bertazi
2017-03-22  8:36 ` [PATCH 02/16] drm: Extract drm_debugfs.h Daniel Vetter
2017-03-22 13:34   ` [Intel-gfx] " Ville Syrjälä
2017-03-22 20:09     ` Daniel Vetter
2017-03-22 20:53   ` [PATCH] " Daniel Vetter
2017-03-22 21:01     ` Ville Syrjälä
2017-03-22  8:36 ` [PATCH 03/16] drm: document driver interface for CRC capturing Daniel Vetter
2017-03-22  9:29   ` [Intel-gfx] " Tomeu Vizoso
2017-03-22  8:36 ` [PATCH 04/16] drm/debugfs: Add kerneldoc Daniel Vetter
2017-03-22 19:39   ` Gabriel Krisman Bertazi
2017-03-22 20:54   ` [PATCH] " Daniel Vetter
2017-03-24  8:19     ` Daniel Vetter
2017-03-22  8:36 ` [PATCH 05/16] drm: update todo.rst Daniel Vetter
2017-03-22 18:31   ` Gabriel Krisman Bertazi
2017-03-22 20:25     ` Daniel Vetter
2017-03-22 20:54   ` [PATCH] " Daniel Vetter
2017-03-22  8:36 ` [PATCH 06/16] drm: Consolidate and document sysfs support Daniel Vetter
2017-03-22  8:36 ` [PATCH 07/16] drm: Extract drm_ioctl.h Daniel Vetter
2017-03-22 13:47   ` Ville Syrjälä
2017-03-22 17:56     ` Daniel Vetter
2017-03-22 18:16       ` [Intel-gfx] " Ville Syrjälä
2017-03-22 20:15     ` Daniel Vetter
2017-03-22 20:22       ` Ville Syrjälä
2017-03-22 20:54   ` [PATCH] " Daniel Vetter
2017-03-22  8:36 ` [PATCH 08/16] drm: document drm_ioctl.[hc] Daniel Vetter
2017-03-24 22:11   ` kbuild test robot
2017-03-25 21:39   ` [PATCH] " Daniel Vetter
2017-03-27 10:53     ` Daniel Vetter
2017-03-22  8:36 ` [PATCH 09/16] drm/todo: Add tinydrm refactoring ideas Daniel Vetter
2017-03-25 11:36   ` Noralf Trønnes
2017-03-22  8:36 ` [PATCH 10/16] drm/vblank: Remove DRM_VBLANKTIME_IN_VBLANK Daniel Vetter
2017-03-22 13:49   ` Ville Syrjälä
     [not found] ` <20170322083617.13361-1-daniel.vetter-/w4YWyX8dFk@public.gmane.org>
2017-03-22  8:36   ` [PATCH 11/16] drm/vblank: Switch drm_driver->get_vblank_timestamp to return a bool Daniel Vetter
     [not found]     ` <20170322083617.13361-12-daniel.vetter-/w4YWyX8dFk@public.gmane.org>
2017-03-22 10:33       ` [Intel-gfx] " Jani Nikula
2017-03-22 13:23         ` Daniel Vetter
     [not found]           ` <20170322132305.zdtehgbox6erdhbq-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org>
2017-03-22 14:05             ` [Intel-gfx] " Jani Nikula
     [not found]               ` <87d1d98kzc.fsf-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-03-22 17:52                 ` Daniel Vetter
2017-03-22 20:55     ` [PATCH] " Daniel Vetter
2017-03-22  8:36   ` [PATCH 15/16] drm/vblank: Simplify the get_scanout_position helper hook Daniel Vetter
2017-03-24 21:28     ` [PATCH] drm/vblank: fix boolreturn.cocci warnings kbuild test robot
2017-03-24 21:28     ` [PATCH 15/16] drm/vblank: Simplify the get_scanout_position helper hook kbuild test robot
2017-03-25 21:37     ` [PATCH] " Daniel Vetter
2017-03-22  8:36 ` [PATCH 12/16] drm/vblank: Switch to bool in_vblank_irq in get_vblank_timestamp Daniel Vetter
2017-03-22 18:23   ` Ville Syrjälä
2017-03-22  8:36 ` [PATCH 13/16] drm/vblank: Add FIXME comments about moving the vblank ts hooks Daniel Vetter
2017-03-22  8:36 ` [PATCH 14/16] drm/vblank: drop the mode argument from drm_calc_vbltimestamp_from_scanoutpos Daniel Vetter
     [not found]   ` <20170322083617.13361-15-daniel.vetter-/w4YWyX8dFk@public.gmane.org>
2017-03-22 20:56     ` [PATCH] " Daniel Vetter
2017-03-30 12:03       ` Ville Syrjälä
     [not found]         ` <20170330120326.GG30290-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-03-30 13:27           ` [Intel-gfx] " Daniel Vetter
2017-03-30 13:41             ` Ville Syrjälä
     [not found]               ` <20170330134157.GI30290-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-03-30 18:27                 ` Daniel Vetter
     [not found]                   ` <20170330182740.p4joh3spt4ghxco4-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org>
2017-04-04  9:54                     ` Daniel Vetter
2017-03-22  8:36 ` [PATCH 16/16] drm/doc: Small markup fixup Daniel Vetter
2017-03-22  9:02 ` ✗ Fi.CI.BAT: failure for more drmP.h cleanup Patchwork
2017-03-23  8:42 ` ✓ Fi.CI.BAT: success for more drmP.h cleanup (rev7) Patchwork

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