[PATCH 00/24] more docs and header splits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

So I looked at drmP.h, thought "this is small, should finally be doable to split
it all into sensible pieces and document things".

Yes that joke was on me, only managed to do a few random things and then split
out drm_file related things. Plus clean those up and give the docs a fresh-up.

As usual, comments and review highly welcome.

Thanks, Daniel

Daniel Vetter (24):
  drm/doc: Add todo about connector_list_iter
  drm: Extract drm_prime.h
  drm: Move drm_lock_data out of drmP.h
  drm: Extract drm_pci.h
  drm: Remove drmP.h include from drm_kms_helper_common.c
  drm/doc: document fallback behaviour for atomic events
  drm: rename drm_fops.c to drm_file.c
  drm: Remove DRM_MINOR_CNT
  drm: Extract drm_file.h
  drm: Remove drm_pending_event->pid
  drm/doc: Document drm_file.[hc]
  drm/i915: Merge pre/postclose hooks
  drm/msm: switch to postclose
  drm/nouveau: Merge pre/postclose hooks
  drm/radeon: Merge pre/postclose hooks
  drm/tegra: switch to postclose
  drm/vgem: switch to postclose
  drm/etnaviv: switch to postclose
  drm/amdgpu: Merge pre/postclose hooks
  drm/exynos: Merge pre/postclose hooks
  drm/msm: Simplify vblank event delivery
  drm: Nerf the preclose callback for modern drivers
  drm: Create DEFINE_DRM_GEM_CMA_FOPS and roll it out to drivers
  drm/gem: Add DEFINE_DRM_GEM_FOPS

 Documentation/gpu/drm-internals.rst             |  56 +---
 Documentation/gpu/drm-mm.rst                    |   3 +
 Documentation/gpu/drm-uapi.rst                  |   4 +
 Documentation/gpu/todo.rst                      |  13 +
 drivers/gpu/drm/Makefile                        |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu.h             |   2 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c         |   1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c         |  17 +-
 drivers/gpu/drm/arm/hdlcd_drv.c                 |  12 +-
 drivers/gpu/drm/arm/malidp_drv.c                |  12 +-
 drivers/gpu/drm/armada/armada_drv.c             |  11 +-
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c    |  12 +-
 drivers/gpu/drm/{drm_fops.c => drm_file.c}      |  77 +++--
 drivers/gpu/drm/drm_gem_cma_helper.c            |   3 +
 drivers/gpu/drm/drm_internal.h                  |   2 +-
 drivers/gpu/drm/drm_irq.c                       |   5 +-
 drivers/gpu/drm/drm_kms_helper_common.c         |   3 +-
 drivers/gpu/drm/drm_pci.c                       |   7 +
 drivers/gpu/drm/drm_prime.c                     |   3 +-
 drivers/gpu/drm/drm_trace.h                     |  20 +-
 drivers/gpu/drm/etnaviv/etnaviv_drv.c           |   4 +-
 drivers/gpu/drm/exynos/exynos_drm_drv.c         |   8 +-
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c       |  12 +-
 drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c |  12 +-
 drivers/gpu/drm/i915/i915_drv.c                 |  10 +-
 drivers/gpu/drm/imx/imx-drm-core.c              |  11 +-
 drivers/gpu/drm/meson/meson_drv.c               |  14 +-
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c        |  12 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c        |  12 +-
 drivers/gpu/drm/msm/msm_drv.c                   |   4 +-
 drivers/gpu/drm/mxsfb/mxsfb_drv.c               |  14 +-
 drivers/gpu/drm/nouveau/nouveau_drm.c           |   9 +-
 drivers/gpu/drm/nouveau/nouveau_usif.c          |   1 -
 drivers/gpu/drm/radeon/radeon_drv.c             |   3 -
 drivers/gpu/drm/radeon/radeon_kms.c             |  42 +--
 drivers/gpu/drm/rcar-du/rcar_du_drv.c           |  12 +-
 drivers/gpu/drm/shmobile/shmob_drm_drv.c        |  12 +-
 drivers/gpu/drm/sti/sti_drv.c                   |  11 +-
 drivers/gpu/drm/sun4i/sun4i_drv.c               |  12 +-
 drivers/gpu/drm/tegra/drm.c                     |   4 +-
 drivers/gpu/drm/tilcdc/tilcdc_drv.c             |  12 +-
 drivers/gpu/drm/vgem/vgem_drv.c                 |   4 +-
 drivers/gpu/drm/zte/zx_drm_drv.c                |  14 +-
 include/drm/drmP.h                              | 218 +-------------
 include/drm/drm_auth.h                          |  17 ++
 include/drm/drm_crtc.h                          |   6 +
 include/drm/drm_drv.h                           |  64 +++-
 include/drm/drm_file.h                          | 377 ++++++++++++++++++++++++
 include/drm/drm_gem.h                           |  30 ++
 include/drm/drm_gem_cma_helper.h                |  26 ++
 include/drm/drm_pci.h                           |  78 +++++
 include/drm/drm_prime.h                         |  80 +++++
 include/drm/drm_vma_manager.h                   |   1 -
 53 files changed, 824 insertions(+), 587 deletions(-)
 rename drivers/gpu/drm/{drm_fops.c => drm_file.c} (89%)
 create mode 100644 include/drm/drm_file.h
 create mode 100644 include/drm/drm_pci.h
 create mode 100644 include/drm/drm_prime.h

-- 
2.11.0

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




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux