[Intel-gfx] [PATCH 00/16] more drmP.h cleanup
Daniel Vetter
daniel.vetter at ffwll.ch
Wed Mar 22 08:36:01 UTC 2017
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
More information about the Intel-gfx
mailing list