[PULL] topic/drm-misc

Daniel Vetter daniel.vetter at ffwll.ch
Sun Sep 25 21:26:54 UTC 2016


Hi Dave,

- more core cleanup patches to prep drm_file to be used for
  kernel-internal contexts (David Herrmann)
- more split-up+docs for drm_crtc.c
- lots of small fixes and polish all over

This pull contains 4 patches from Markus to switch to
kcalloc/kmalloc_array in legacy bufs ioctl code. Because ioctls seems
justified, but given the poor s/n and that Markus doesn't seem interested
at all in coordinating his patch piles first I won't bother trying to dig
out the good ones any more.

Also reminder to pick up one of the udl fixes (don't forget the cc:
stable) for drm-fixes.

Cheers, Daniel


The following changes since commit 9f8cf165c62913244479832f04c44cd77ffc9293:

  Merge tag 'topic/drm-misc-2016-09-19' of git://anongit.freedesktop.org/drm-intel into drm-next (2016-09-19 17:16:02 +1000)

are available in the git repository at:

  git://anongit.freedesktop.org/drm-intel tags/topic/drm-misc-2016-09-25

for you to fetch changes up to 089cfdd9b0ec1b21d3356d2e057f69b89d46ae66:

  drm: bridge: analogix/dp: mark symbols static where possible (2016-09-25 22:59:02 +0200)

----------------------------------------------------------------
Baoyou Xie (2):
      drm/bochs: mark bochs_connector_get_modes() static
      drm: bridge: analogix/dp: mark symbols static where possible

Brian Starkey (1):
      drm/i2c: tda998x: don't register the connector

Daniel Vetter (11):
      drm: Move a few macros away from drm_crtc.h
      drm: Extract drm_bridge.h
      drm: Move all decl for drm_edid.c to drm_edid.h
      drm: Extract drm_plane.[hc]
      drm/doc: Polish for drm_plane.[hc]
      drm: Conslidate blending properties in drm_blend.[hc]
      drm/doc: Polish plane composition property docs
      drm: Extract drm_color_mgmt.[hc]
      drm/doc: Document color space handling
      drm: Remove dirty property from docs
      drm: Fix plane type uabi breakage

David Herrmann (4):
      drm: remove redundant drm_file->uid
      drm: use drm_file to tag vm-bos
      drm: drop obsolete drm_core.h
      drm: cleanup drm_core_{init,exit}()

Dhinakaran Pandiyan (1):
      drm: Fix typo in encoder docs

Emilio López (1):
      dma-buf/sync_file: fix documentation error

Gustavo Padovan (1):
      dma-buf/sync_file: free fences array in num_fences is 1

Jani Nikula (1):
      drm: fix implicit declaration build error on ia64

Markus Elfring (4):
      GPU-DRM: Use kmalloc_array() in drm_legacy_addbufs_pci()
      GPU-DRM: Replace two kzalloc() calls by kcalloc() in drm_legacy_addbufs_pci()
      GPU-DRM: Replace a kzalloc() call by kcalloc() in drm_legacy_addbufs_agp()
      GPU-DRM: Replace a kzalloc() call by kcalloc() in drm_legacy_addbufs_sg()

Rafael Antognolli (1):
      dma-buf/sync_file: Increment refcount of fence when all are signaled.

Sean Paul (4):
      drm/tilcdc: Add atomic and crtc headers to crtc.c
      Revert "drm/i2c: tda998x: don't register the connector"
      drm/bridge: analogix_dp: Don't read EDID if panel present
      drm/bridge: analogix_dp: Improve panel on time

Tom Gundersen (2):
      drm: Distinguish no name from ENOMEM in set_unique()
      drm: Don't swallow error codes in drm_dev_alloc()

Tomeu Vizoso (1):
      drm/bridge: analogix_dp: Remove duplicated code

Ville Syrjälä (3):
      drm/atomic-helper: Fix sparse warnings
      drm/blend: Fix sparse warnings
      drm/fb-helper: Fix sparse warnings

 Documentation/gpu/drm-kms-helpers.rst              |   10 +
 Documentation/gpu/drm-kms.rst                      |   78 +-
 Documentation/gpu/kms-properties.csv               |   21 -
 drivers/dma-buf/sync_file.c                        |    7 +-
 drivers/gpu/drm/Makefile                           |    3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c            |    3 +-
 drivers/gpu/drm/arc/arcpgu_drv.c                   |    4 +-
 drivers/gpu/drm/arm/hdlcd_drv.c                    |    4 +-
 drivers/gpu/drm/arm/malidp_drv.c                   |    4 +-
 drivers/gpu/drm/ast/ast_ttm.c                      |    3 +-
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c       |    4 +-
 drivers/gpu/drm/bochs/bochs_kms.c                  |    2 +-
 drivers/gpu/drm/bochs/bochs_mm.c                   |    3 +-
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c |  311 ++--
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.h |   40 +-
 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c  |  451 ++----
 drivers/gpu/drm/cirrus/cirrus_ttm.c                |    3 +-
 drivers/gpu/drm/drm_atomic_helper.c                |    2 +-
 drivers/gpu/drm/drm_blend.c                        |  199 ++-
 drivers/gpu/drm/drm_bridge.c                       |    5 +-
 drivers/gpu/drm/drm_bufs.c                         |   14 +-
 drivers/gpu/drm/drm_color_mgmt.c                   |  296 ++++
 drivers/gpu/drm/drm_crtc.c                         | 1683 +++-----------------
 drivers/gpu/drm/drm_crtc_helper_internal.h         |    7 +
 drivers/gpu/drm/drm_crtc_internal.h                |   45 +-
 drivers/gpu/drm/drm_dp_helper.c                    |    1 +
 drivers/gpu/drm/drm_drv.c                          |   65 +-
 drivers/gpu/drm/drm_encoder.c                      |   17 +-
 drivers/gpu/drm/drm_fb_helper.c                    |    2 +
 drivers/gpu/drm/drm_fops.c                         |    1 -
 drivers/gpu/drm/drm_framebuffer.c                  |   26 +
 drivers/gpu/drm/drm_gem.c                          |    8 +-
 drivers/gpu/drm/drm_info.c                         |    4 +-
 drivers/gpu/drm/drm_internal.h                     |    3 +
 drivers/gpu/drm/drm_ioc32.c                        |    1 -
 drivers/gpu/drm/drm_ioctl.c                        |    1 -
 drivers/gpu/drm/drm_pci.c                          |    4 +-
 drivers/gpu/drm/drm_plane.c                        |  907 +++++++++++
 drivers/gpu/drm/drm_platform.c                     |    4 +-
 drivers/gpu/drm/drm_sysfs.c                        |    8 +-
 drivers/gpu/drm/drm_vma_manager.c                  |   40 +-
 drivers/gpu/drm/etnaviv/etnaviv_drv.c              |    4 +-
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c          |    4 +-
 drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c    |    4 +-
 drivers/gpu/drm/mediatek/mtk_drm_drv.c             |    4 +-
 drivers/gpu/drm/mgag200/mgag200_ttm.c              |    3 +-
 drivers/gpu/drm/msm/msm_drv.c                      |    4 +-
 drivers/gpu/drm/nouveau/nouveau_bo.c               |    3 +-
 drivers/gpu/drm/nouveau/nouveau_drm.c              |    4 +-
 drivers/gpu/drm/qxl/qxl_ttm.c                      |    3 +-
 drivers/gpu/drm/radeon/radeon_ttm.c                |    3 +-
 drivers/gpu/drm/rcar-du/rcar_du_drv.c              |    4 +-
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c        |    4 +-
 drivers/gpu/drm/sti/sti_drv.c                      |    4 +-
 drivers/gpu/drm/sun4i/sun4i_drv.c                  |    4 +-
 drivers/gpu/drm/tegra/drm.c                        |    4 +-
 drivers/gpu/drm/tilcdc/tilcdc_crtc.c               |    6 +-
 drivers/gpu/drm/udl/udl_drv.c                      |    4 +-
 drivers/gpu/drm/vc4/vc4_drv.c                      |    4 +-
 drivers/gpu/drm/vgem/vgem_drv.c                    |    4 +-
 drivers/gpu/drm/virtio/virtgpu_drm_bus.c           |    4 +-
 include/drm/drmP.h                                 |    1 -
 include/drm/drm_atomic.h                           |  154 ++
 include/drm/drm_blend.h                            |   62 +
 include/drm/drm_bridge.h                           |  218 +++
 include/drm/drm_color_mgmt.h                       |   61 +
 include/drm/drm_connector.h                        |   28 +-
 include/drm/drm_core.h                             |   34 -
 include/drm/drm_crtc.h                             |  887 +----------
 include/drm/drm_edid.h                             |   30 +
 include/drm/drm_encoder.h                          |   22 +
 include/drm/drm_fb_helper.h                        |    5 -
 include/drm/drm_framebuffer.h                      |   17 +
 include/drm/drm_mode_object.h                      |    1 +
 include/drm/drm_modes.h                            |    6 +
 include/drm/drm_plane.h                            |  526 ++++++
 include/drm/drm_property.h                         |    1 +
 include/drm/drm_vma_manager.h                      |   20 +-
 include/uapi/linux/sync_file.h                     |   13 +-
 79 files changed, 3230 insertions(+), 3228 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_color_mgmt.c
 create mode 100644 drivers/gpu/drm/drm_plane.c
 create mode 100644 include/drm/drm_blend.h
 create mode 100644 include/drm/drm_bridge.h
 create mode 100644 include/drm/drm_color_mgmt.h
 delete mode 100644 include/drm/drm_core.h
 create mode 100644 include/drm/drm_plane.h

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list