mbox

[PULL] topic/drm-misc

Message ID 20161024072154.wejomet5aggwzpue@phenom.ffwll.local
State New
Headers show

Pull-request

git://anongit.freedesktop.org/drm-intel tags/topic/drm-misc-2016-10-24

Message

Daniel Vetter Oct. 24, 2016, 7:21 a.m. UTC
Hi Dave,

First -misc pull for 4.10:
- drm_format rework from Laurent
- reservation patches from Chris that missed 4.9. 
- aspect ratio support in infoframe helpers and drm mode/edid code
  (Shashank Sharma)
- rotation rework from Ville (first parts at least)
- another attempt at the CRC debugfs interface from Tomeu
- piles and piles of misc patches all over

I'll send you another drm-intel pull too, and I'd like to backmerge the
lot right afterwards. And if you base drm-next on -rc2 I get that for
free, too (which would be great to make sure git doesn't again screw
things up when the cherry-pick conflicts get out of hand).

Also I've been hacking on my scripts, and assuming nothing goes sideways
the next pull request for -misc will be from the new, separate repo.

Cheers, Daniel


The following changes since commit a5bd451b6e6ece69be07a425381c4f3438eadba0:

  drm/crtc: constify drm_crtc_index parameter (2016-10-10 17:28:58 +0200)

are available in the git repository at:

  git://anongit.freedesktop.org/drm-intel tags/topic/drm-misc-2016-10-24

for you to fetch changes up to 8a5bbf327aa16025c78491266a6425807c7fbee0:

  drm: Use u64 for intermediate dotclock calculations (2016-10-21 20:23:16 +0200)

----------------------------------------------------------------
Arnd Bergmann (2):
      drm: avoid uninitialized timestamp use in wait_vblank
      i915: don't call drm_atomic_state_put on invalid pointer

Brian Starkey (1):
      drm: atomic: Clarify documentation around drm_atomic_crtc_needs_modeset

Chris Wilson (13):
      drm/amdgpu: Remove call to reservation_object_test_signaled_rcu before wait
      drm/etnaviv: Remove manual call to reservation_object_test_signaled_rcu before wait
      drm/nouveau: Remove call to reservation_object_test_signaled_rcu before wait
      drm/vmwgfx: Remove call to reservation_object_test_signaled_rcu before wait
      dma-buf: Introduce fence_get_rcu_safe()
      dma-buf: Restart reservation_object_get_fences_rcu() after writes
      dma-buf: Restart reservation_object_wait_timeout_rcu() after writes
      dma-buf: Restart reservation_object_test_signaled_rcu() after writes
      drm: Add reference counting to drm_atomic_state
      drm/edid: Rename local variable block to edid
      drm/edid: Use block local to refer to the block
      drm/i915: Handle early failure during intel_get_load_detect_pipe
      drm: Use u64 for intermediate dotclock calculations

Dan Carpenter (1):
      drm/savage: dereferencing an error pointer

Dmitry Vyukov (1):
      drivers/gpu/vga: allocate vga_arb_write() buffer on stack

Gustavo Padovan (2):
      drm/fence: release fence reference when canceling event
      dma-buf/sync_file: hold reference to fence when creating sync_file

Jani Nikula (1):
      drm: fix sparse warnings on undeclared symbols in crc debugfs

Jiang Biao (2):
      drm/gma500: remove useless comment
      drm/gma500: add comments for new parameters

Laurent Pinchart (13):
      drm: Centralize format information
      drm: Implement the drm_format_*() helpers as drm_format_info() wrappers
      drm: Use drm_format_info() in DRM core code
      drm: WARN when calling drm_format_info() for an unsupported format
      drm: hdlcd: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()
      drm: tilcdc: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()
      drm: cirrus: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()
      drm: gma500: Replace drm_fb_get_bpp_depth() with drm_format_info()
      drm: amdgpu: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()
      drm: radeon: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()
      drm: vmwgfx: Replace drm_fb_get_bpp_depth() with drm_format_info()
      drm/arm: mali-dp: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()
      drm: Don't export the drm_fb_get_bpp_depth() function

Maarten Lankhorst (1):
      drm/crtc: constify drm_crtc_mask parameter

Peter Griffin (1):
      drm/virtio: kconfig: Fixup white space.

Shashank Sharma (4):
      drm: add picture aspect ratio flags
      drm: Add aspect ratio parsing in DRM layer
      video: Add new aspect ratios for HDMI 2.0
      drm: Add and handle new aspect ratios in DRM layer

Shyam Saini (1):
      gpu: drm: gma500: Use vma_pages()

Stefan Agner (2):
      drm/fb-helper: reject any changes to the fbdev
      drm/fb_cma_helper: do not free fbdev if there is none

Stephen Boyd (1):
      gpu: Remove depends on RESET_CONTROLLER when not a provider

Tomeu Vizoso (1):
      drm: Add API for capturing frame CRCs

Ville Syrjälä (8):
      drm: Add drm_rotation_90_or_270()
      drm/atomic: Reject attempts to use multiple rotation angles at once
      drm: Add support for optional per-plane rotation property
      drm/arm: Use per-plane rotation property
      drm/atmel-hlcdc: Use per-plane rotation property
      drm/omap: Set rotation property initial value to BIT(DRM_ROTATE_0) insted of 0
      drm/omap: Use per-plane rotation property
      drm/i915: Use the per-plane rotation property

 Documentation/gpu/drm-kms.rst                   |   3 +
 Documentation/gpu/drm-uapi.rst                  |   6 +
 drivers/dma-buf/reservation.c                   | 112 ++++----
 drivers/dma-buf/sync_file.c                     |   2 +-
 drivers/gpu/drm/Makefile                        |   3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c          |  14 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c         |   9 +-
 drivers/gpu/drm/arm/hdlcd_crtc.c                |   5 +-
 drivers/gpu/drm/arm/malidp_hw.c                 |   7 +-
 drivers/gpu/drm/arm/malidp_planes.c             |  13 +-
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c    |   3 +-
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c |  41 +--
 drivers/gpu/drm/cirrus/cirrus_fbdev.c           |   6 +-
 drivers/gpu/drm/cirrus/cirrus_main.c            |   4 +-
 drivers/gpu/drm/drm_atomic.c                    |  33 ++-
 drivers/gpu/drm/drm_atomic_helper.c             | 109 ++------
 drivers/gpu/drm/drm_blend.c                     |  35 +++
 drivers/gpu/drm/drm_crtc.c                      |  37 ++-
 drivers/gpu/drm/drm_debugfs.c                   |  34 ++-
 drivers/gpu/drm/drm_debugfs_crc.c               | 352 ++++++++++++++++++++++++
 drivers/gpu/drm/drm_edid.c                      |  46 ++--
 drivers/gpu/drm/drm_fb_cma_helper.c             |  26 +-
 drivers/gpu/drm/drm_fb_helper.c                 |  28 +-
 drivers/gpu/drm/drm_fops.c                      |   4 +
 drivers/gpu/drm/drm_fourcc.c                    | 281 ++++++++-----------
 drivers/gpu/drm/drm_framebuffer.c               | 102 +------
 drivers/gpu/drm/drm_internal.h                  |  16 ++
 drivers/gpu/drm/drm_irq.c                       |   4 +-
 drivers/gpu/drm/drm_modes.c                     |  51 +++-
 drivers/gpu/drm/drm_modeset_helper.c            |  17 +-
 drivers/gpu/drm/etnaviv/etnaviv_gem.c           |  24 +-
 drivers/gpu/drm/exynos/exynos_drm_drv.c         |   3 +-
 drivers/gpu/drm/gma500/framebuffer.c            |  23 +-
 drivers/gpu/drm/gma500/gtt.c                    |   2 +
 drivers/gpu/drm/i915/i915_debugfs.c             |   5 +-
 drivers/gpu/drm/i915/intel_atomic_plane.c       |   3 +-
 drivers/gpu/drm/i915/intel_display.c            | 109 ++++----
 drivers/gpu/drm/i915/intel_drv.h                |   9 -
 drivers/gpu/drm/i915/intel_fbc.c                |   2 +-
 drivers/gpu/drm/i915/intel_pm.c                 |  12 +-
 drivers/gpu/drm/i915/intel_sprite.c             |  18 +-
 drivers/gpu/drm/mediatek/mtk_drm_drv.c          |   3 +-
 drivers/gpu/drm/msm/msm_atomic.c                |   3 +-
 drivers/gpu/drm/nouveau/nouveau_gem.c           |  21 +-
 drivers/gpu/drm/omapdrm/omap_crtc.c             |  13 +-
 drivers/gpu/drm/omapdrm/omap_drv.c              |  53 ++--
 drivers/gpu/drm/omapdrm/omap_plane.c            |  22 +-
 drivers/gpu/drm/radeon/radeon_fb.c              |  20 +-
 drivers/gpu/drm/radeon/radeon_gem.c             |   3 +-
 drivers/gpu/drm/rcar-du/rcar_du_kms.c           |   3 +-
 drivers/gpu/drm/rockchip/Kconfig                |   1 -
 drivers/gpu/drm/savage/savage_state.c           |   1 +
 drivers/gpu/drm/sti/sti_drv.c                   |   3 +-
 drivers/gpu/drm/tegra/Kconfig                   |   1 -
 drivers/gpu/drm/tegra/drm.c                     |   3 +-
 drivers/gpu/drm/tilcdc/tilcdc_crtc.c            |  18 +-
 drivers/gpu/drm/tilcdc/tilcdc_drv.c             |   2 -
 drivers/gpu/drm/tilcdc/tilcdc_plane.c           |   7 +-
 drivers/gpu/drm/vc4/vc4_kms.c                   |   3 +-
 drivers/gpu/drm/virtio/Kconfig                  |   6 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c             |  12 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c        |   6 +-
 drivers/gpu/ipu-v3/Kconfig                      |   1 -
 drivers/gpu/vga/vgaarb.c                        |  15 +-
 drivers/video/hdmi.c                            |   4 +
 include/drm/drm_atomic.h                        |  42 ++-
 include/drm/drm_blend.h                         |   8 +
 include/drm/drm_crtc.h                          |  48 +++-
 include/drm/drm_debugfs_crc.h                   |  73 +++++
 include/drm/drm_encoder.h                       |   2 +-
 include/drm/drm_fourcc.h                        |  23 +-
 include/drm/drm_plane.h                         |   3 +-
 include/linux/fence.h                           |  56 +++-
 include/linux/hdmi.h                            |   2 +
 include/uapi/drm/drm_mode.h                     |  24 +-
 75 files changed, 1356 insertions(+), 762 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_debugfs_crc.c
 create mode 100644 include/drm/drm_debugfs_crc.h