Hi Dave, Another pile of misc: - Explicit fencing for atomic! Big thanks to Gustavo, Sean, Rob 3x, Brian and anyone else I've forgotten to make this happen. - roll out fbdev helper ops to drivers (Stefan Christ) - last bits of drm_crtc split-up&kerneldoc - some drm_irq.c crtc functions cleanup - prepare_fb helper for cma, works correctly with explicit fencing (Marek Vasut) - misc small patches all over
Cheers, Daniel The following changes since commit d8c1abd968f1c880ad8ce4ecf7df55489f8c69a1: Merge tag 'zxdrm-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into drm-next (2016-11-11 10:09:13 +1000) are available in the git repository at: git://anongit.freedesktop.org/git/drm-misc tags/drm-misc-next-2016-11-16 for you to fetch changes up to beaf5af48034c9e2ebb8b2b1fb12dc4d8aeba99e: drm/fence: add out-fences support (2016-11-16 14:36:27 +0100) ---------------------------------------------------------------- Andrew Donnellan (1): drm/ast: free correct pointer in astfb_create() error paths Chris Wilson (1): dma-buf: Use fence_get_rcu_safe() for retrieving the exclusive fence Dan Carpenter (1): drm: zte: checking for NULL instead of IS_ERR() Daniel Vetter (17): drm: Extract drm_dumb_buffers.c drm/i915: Fixup kerneldoc includes doc/dma-buf: Fix up include directives drm: Extract drm_drv.h drm: Clean up kerneldoc for struct drm_driver drm: Consolidate dumb buffer docs drm/print: Move kerneldoc next to definition drm: Extract drm_mode_config.[hc] drm: Move tile group code into drm_connector.c drm: Drop externs from drm_crtc.h drm/color: document NULL values and default settings better drm/amdgpu: Use drm_crtc_vblank_on/off for dce6 drm/nouveau: Use drm_crtc_vblank_off/on drm/irq: Make drm_vblank_pre/post_modeset internal drm/irq: Unexport drm_vblank_count drm/irq: Unexport drm_vblank_on/off drm: drm_irq.h header cleanup Eric Engestrom (1): drm: move allocation out of drm_get_format_name() Gustavo Padovan (3): drm/fence: add in-fences support drm/fence: add fence timeline to drm_crtc drm/fence: add out-fences support Jianqun Xu (1): drm/bridge: analogix_dp: return error if transfer none byte Joonas Lahtinen (1): drm: Add missing mutex_destroy in drm_dev_init/release Julia Lawall (1): drm/sun4i: constify component_ops structures Marek Vasut (3): drm/fb_cma_helper: Add drm_fb_cma_prepare_fb() helper drm/imx: Switch to drm_fb_cma_prepare_fb() helper drm/fb_cma_helper: Add missing forward declaration Rob Clark (1): drm: don't let crtc_ww_class leak out Stefan Christ (18): drm/fb-helper: fix segfaults in drm_fb_helper_debug_* drm/fb-helper: add fb_debug_* to DRM_FB_HELPER_DEFAULT_OPS drm/amdgpu: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops drm/armada: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops drm/bochs: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops drm/fb_cma_helper: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops drm/exynos: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops drm/nouveau: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops drm/qxl: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops drm/rockchip: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops drm/radeon: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops drm/tegra: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops drm/udl: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops drm/msm: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops drm/virtio: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops drm/omapdrm: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops drm/i915: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops drm/gma500: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops Ville Syrjälä (2): Revert "drm: Add and handle new aspect ratios in DRM layer" Revert "drm: Add aspect ratio parsing in DRM layer" Documentation/driver-api/infrastructure.rst | 8 +- Documentation/gpu/drm-internals.rst | 5 +- Documentation/gpu/drm-kms-helpers.rst | 8 - Documentation/gpu/drm-kms.rst | 80 +-- Documentation/gpu/i915.rst | 6 +- drivers/gpu/drm/Kconfig | 1 + drivers/gpu/drm/Makefile | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 8 +- drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 7 +- drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 7 +- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 7 +- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 7 +- drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 4 +- drivers/gpu/drm/armada/armada_fbdev.c | 8 +- drivers/gpu/drm/ast/ast_fb.c | 2 +- drivers/gpu/drm/bochs/bochs_fbdev.c | 6 +- drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c | 2 +- drivers/gpu/drm/drm_atomic.c | 265 ++++++-- drivers/gpu/drm/drm_atomic_helper.c | 5 + drivers/gpu/drm/drm_color_mgmt.c | 12 + drivers/gpu/drm/drm_connector.c | 104 ++++ drivers/gpu/drm/drm_crtc.c | 719 ++-------------------- drivers/gpu/drm/drm_crtc_internal.h | 36 +- drivers/gpu/drm/drm_drv.c | 24 +- drivers/gpu/drm/drm_dumb_buffers.c | 128 ++++ drivers/gpu/drm/drm_fb_cma_helper.c | 41 +- drivers/gpu/drm/drm_fb_helper.c | 6 + drivers/gpu/drm/drm_fourcc.c | 14 +- drivers/gpu/drm/drm_framebuffer.c | 7 +- drivers/gpu/drm/drm_internal.h | 12 +- drivers/gpu/drm/drm_irq.c | 160 ++--- drivers/gpu/drm/drm_mode_config.c | 494 +++++++++++++++ drivers/gpu/drm/drm_modes.c | 43 -- drivers/gpu/drm/drm_modeset_helper.c | 7 +- drivers/gpu/drm/drm_modeset_lock.c | 13 + drivers/gpu/drm/drm_plane.c | 8 +- drivers/gpu/drm/drm_print.c | 5 + drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 6 +- drivers/gpu/drm/gma500/framebuffer.c | 12 +- drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 7 +- drivers/gpu/drm/i915/i915_debugfs.c | 10 +- drivers/gpu/drm/i915/intel_atomic_plane.c | 8 +- drivers/gpu/drm/i915/intel_display.c | 41 +- drivers/gpu/drm/i915/intel_fbdev.c | 5 +- drivers/gpu/drm/imx/imx-drm-core.c | 32 +- drivers/gpu/drm/imx/ipuv3-plane.c | 1 + drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 +- drivers/gpu/drm/msm/msm_fbdev.c | 7 +- drivers/gpu/drm/nouveau/dispnv04/crtc.c | 4 +- drivers/gpu/drm/nouveau/nouveau_display.c | 12 +- drivers/gpu/drm/nouveau/nouveau_fbcon.c | 16 +- drivers/gpu/drm/omapdrm/omap_fbdev.c | 5 +- drivers/gpu/drm/qxl/qxl_fb.c | 8 +- drivers/gpu/drm/radeon/atombios_crtc.c | 14 +- drivers/gpu/drm/radeon/radeon_fb.c | 8 +- drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c | 6 +- drivers/gpu/drm/sun4i/sun4i_backend.c | 2 +- drivers/gpu/drm/sun4i/sun4i_tcon.c | 2 +- drivers/gpu/drm/sun4i/sun4i_tv.c | 2 +- drivers/gpu/drm/sun4i/sun6i_drc.c | 2 +- drivers/gpu/drm/tegra/fb.c | 6 +- drivers/gpu/drm/udl/udl_fb.c | 8 +- drivers/gpu/drm/virtio/virtgpu_fb.c | 8 +- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 3 +- drivers/gpu/drm/zte/zx_drm_drv.c | 4 +- include/drm/drmP.h | 303 +-------- include/drm/drm_atomic.h | 1 + include/drm/drm_connector.h | 24 + include/drm/drm_crtc.h | 674 ++------------------ include/drm/drm_drv.h | 430 +++++++++++++ include/drm/drm_fb_cma_helper.h | 5 + include/drm/drm_fb_helper.h | 4 +- include/drm/drm_fourcc.h | 10 +- include/drm/drm_irq.h | 63 +- include/drm/drm_mode_config.h | 663 ++++++++++++++++++++ include/drm/drm_modeset_lock.h | 12 +- include/drm/drm_print.h | 5 - include/linux/dma-fence.h | 2 +- include/linux/reservation.h | 15 +- include/uapi/drm/drm_mode.h | 6 - 80 files changed, 2499 insertions(+), 2231 deletions(-) create mode 100644 drivers/gpu/drm/drm_dumb_buffers.c create mode 100644 drivers/gpu/drm/drm_mode_config.c create mode 100644 include/drm/drm_drv.h create mode 100644 include/drm/drm_mode_config.h -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch