Hi Dave, Here's another misc-next pull for you. We have some nice improvements in core adding mode_valid hooks and de-duping the allocation code. Daniel continues to improve documentation (\o/), and a bunch of little stuff was fixed up. Also noteworthy is that I backmerged -next so Daniel could pick up Michal's kvmalloc set. drm-misc-next-2017-05-26: UAPI Changes: - Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ defines to the UAPI (Robert) Cross-subsystem Changes: - Standardize sync_file.txt documentation format (Mauro) Core Changes: - Turf drm_[cm]alloc functions for kvmalloc alternatives (Michal) - Add optional mode_valid() hook to crtc/encoder/bridge (Jose) - Improve documentation around mode validation/alteration (Daniel) - Reduce sync_file construction time by deferring name creation (Chris) Driver Changes: - pl111: Wire up the clock divider and add debugfs (Eric) - various: Fix include notation and remove -Iinclude/drm (Masahiro) - stm: Add Benjamin Gaignard and Vincent Abriou as STM maintainers (Vincent) - various: Miscellaneous trivial fixes to pl111/stm/vgem/vc4 Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Eric Anholt <eric@xxxxxxxxxx> Cc: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> Cc: Robert Foss <robert.foss@xxxxxxxxxxxxx> Cc: Vincent Abriou <vincent.abriou@xxxxxx> Cc: Jose Abreu <Jose.Abreu@xxxxxxxxxxxx> Cc: Daniel Vetter <daniel.vetter@xxxxxxxx> Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx> Happy weekend, Sean The following changes since commit e98c58e55f68f8785aebfab1f8c9a03d8de0afe1: Merge tag 'drm-misc-next-2017-05-16' of git://anongit.freedesktop.org/git/drm-misc into drm-next (2017-05-18 12:57:06 +1000) are available in the git repository at: git://anongit.freedesktop.org/git/drm-misc tags/drm-misc-next-2017-05-26 for you to fetch changes up to 71ebc9a3795818eab52e81bbcbdfae130ee35d9e: dma-buf/sync-file: Defer creation of sync_file->name (2017-05-24 13:08:29 -0300) ---------------------------------------------------------------- UAPI Changes: - Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ defines to the UAPI (Robert) Cross-subsystem Changes: - Standardize sync_file.txt documentation format (Mauro) Core Changes: - Turf drm_[cm]alloc functions for kvmalloc alternatives (Michal) - Add optional mode_valid() hook to crtc/encoder/bridge (Jose) - Improve documentation around mode validation/alteration (Daniel) - Reduce sync_file construction time by deferring name creation (Chris) Driver Changes: - pl111: Wire up the clock divider and add debugfs (Eric) - various: Fix include notation and remove -Iinclude/drm (Masahiro) - stm: Add Benjamin Gaignard and Vincent Abriou as STM maintainers (Vincent) - various: Miscellaneous trivial fixes to pl111/stm/vgem/vc4 Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Eric Anholt <eric@xxxxxxxxxx> Cc: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> Cc: Robert Foss <robert.foss@xxxxxxxxxxxxx> Cc: Vincent Abriou <vincent.abriou@xxxxxx> Cc: Jose Abreu <Jose.Abreu@xxxxxxxxxxxx> Cc: Daniel Vetter <daniel.vetter@xxxxxxxx> Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx> ---------------------------------------------------------------- Arnd Bergmann (2): gpu: host1x: select IOMMU_IOVA gpu: drm: gma500: remove two more dead variable Chris Wilson (1): dma-buf/sync-file: Defer creation of sync_file->name Colin Ian King (4): drm/vc4: fix spelling mistake: "dimesions" -> "dimensions" drm/sti:fix spelling mistake: "compoment" -> "component" drm/pl111: make structure pl111_display_funcs static drm/pl111: make structure mode_config_funcs static Daniel Vetter (2): drm/doc: Document adjusted/request modes a bit better drm/doc: Clarify mode_fixup vs. atomic_check a bit more Eric Anholt (4): drm/vc4: Enable selection in Kconfig on any 32-bit BCM platform. drm/vc4: Adjust modes in DSI to work around the integer PLL divider. drm/pl111: Register the clock divider and use it. drm/pl111: Add a debugfs node to dump our registers. Gabriel Krisman Bertazi (1): drm: trivial documentation fix to drm_for_each_connector_iter Jose Abreu (1): drm: Add crtc/encoder/bridge->mode_valid() callbacks Masahiro Yamada (31): drm: make drm_panel.h self-contained drm/ttm: fix include notation and remove -Iinclude/drm flag drm/amd: fix include notation and remove -Iinclude/drm flag drm/ast: fix include notation and remove -Iinclude/drm flag drm/bochs: fix include notation and remove -Iinclude/drm flag drm/bridge: fix include notation and remove -Iinclude/drm flag drm/cirrus: fix include notation and remove -Iinclude/drm flag drm/hisilicon: fix include notation and remove -Iinclude/drm flag drm/mgag200: fix include notation and remove -Iinclude/drm flag drm/msm: fix include notation and remove -Iinclude/drm flag drm/nouveau: fix include notation and remove -Iinclude/drm flag drm/qxl: fix include notation and remove -Iinclude/drm flag drm/radeon: fix include notation and remove -Iinclude/drm flag drm/tilcdc: fix include notation and remove -Iinclude/drm flag drm/virtio: fix include notation and remove -Iinclude/drm flag drm/vmwgfx: fix include notation and remove -Iinclude/drm flag drm/gma500: remove unneeded -Iinclude/drm compiler flag drm/i810: remove unneeded -Iinclude/drm compiler flag drm/i2c: remove unneeded -Iinclude/drm compiler flag drm/mga: remove unneeded -Iinclude/drm compiler flag drm/omap: remove unneeded -Iinclude/drm compiler flag drm/r128: remove unneeded -Iinclude/drm compiler flag drm/savage: remove unneeded -Iinclude/drm compiler flag drm/sis: remove unneeded -Iinclude/drm compiler flag drm/tdfx: remove unneeded -Iinclude/drm compiler flag drm/udl: remove unneeded -Iinclude/drm compiler flag drm/vgem: remove unneeded -Iinclude/drm compiler flag drm/via: remove unneeded -Iinclude/drm compiler flag drm/vc4: fix include notation and remove -Iinclude/drm flag drm/stm: remove unneeded -Iinclude/drm compiler flag drm/amd: include <linux/delay.h> instead of "linux/delay.h" Mauro Carvalho Chehab (1): sync_file.txt: standardize document format Michal Hocko (2): drm: replace drm_[cm]alloc* by kvmalloc alternatives drm: drop drm_[cm]alloc* helpers Philippe CORNU (1): drm/stm: ltdc: fix duplicated arguments Robert Foss (2): drm/blend: Fix comment typ-o drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI Sean Paul (1): Merge remote-tracking branch 'airlied/drm-next' into drm-misc-next Vincent Abriou (1): MAINTAINERS: update drm/stm maintainers list Wei Yongjun (2): drm/vgem: Fix return value check in vgem_init() drm/pl111: Fix return value check in pl111_amba_probe() Documentation/sync_file.txt | 23 +-- MAINTAINERS | 2 + drivers/dma-buf/sync_debug.c | 4 +- drivers/dma-buf/sync_file.c | 39 ++++- drivers/gpu/drm/amd/amdgpu/Makefile | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 10 +- drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c | 16 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 19 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 10 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 7 +- drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 2 +- drivers/gpu/drm/amd/amdgpu/ci_smc.c | 2 +- drivers/gpu/drm/amd/amdgpu/cik.c | 2 +- drivers/gpu/drm/amd/amdgpu/cik_ih.c | 2 +- drivers/gpu/drm/amd/amdgpu/cz_ih.c | 2 +- drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/iceland_ih.c | 2 +- drivers/gpu/drm/amd/amdgpu/kv_dpm.c | 2 +- drivers/gpu/drm/amd/amdgpu/kv_smc.c | 2 +- drivers/gpu/drm/amd/amdgpu/psp_v3_1.c | 2 +- drivers/gpu/drm/amd/amdgpu/si.c | 2 +- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 2 +- drivers/gpu/drm/amd/amdgpu/si_ih.c | 2 +- drivers/gpu/drm/amd/amdgpu/si_smc.c | 2 +- drivers/gpu/drm/amd/amdgpu/soc15.c | 2 +- drivers/gpu/drm/amd/amdgpu/tonga_ih.c | 2 +- drivers/gpu/drm/amd/amdgpu/vega10_ih.c | 2 +- drivers/gpu/drm/amd/amdgpu/vi.c | 2 +- drivers/gpu/drm/amd/amdkfd/Makefile | 2 +- drivers/gpu/drm/amd/powerplay/Makefile | 2 +- drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 4 +- drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c | 2 +- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 4 +- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 5 +- drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c | 8 +- drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c | 5 +- drivers/gpu/drm/arm/malidp_drv.h | 2 +- drivers/gpu/drm/arm/malidp_planes.c | 18 +-- drivers/gpu/drm/armada/armada_overlay.c | 2 +- drivers/gpu/drm/ast/Makefile | 2 - drivers/gpu/drm/ast/ast_ttm.c | 3 +- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 20 +-- drivers/gpu/drm/bochs/Makefile | 1 - drivers/gpu/drm/bochs/bochs.h | 4 +- drivers/gpu/drm/bridge/Makefile | 2 - drivers/gpu/drm/bridge/nxp-ptn3460.c | 12 +- drivers/gpu/drm/bridge/parade-ps8622.c | 10 +- drivers/gpu/drm/cirrus/Makefile | 1 - drivers/gpu/drm/cirrus/cirrus_ttm.c | 3 +- drivers/gpu/drm/drm_atomic.c | 2 +- drivers/gpu/drm/drm_atomic_helper.c | 2 +- drivers/gpu/drm/drm_blend.c | 45 +++--- drivers/gpu/drm/drm_fb_helper.c | 4 +- drivers/gpu/drm/drm_gem.c | 6 +- drivers/gpu/drm/drm_plane_helper.c | 2 +- drivers/gpu/drm/drm_rect.c | 36 ++--- drivers/gpu/drm/etnaviv/etnaviv_gem.c | 12 +- drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c | 4 +- drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c | 12 +- drivers/gpu/drm/exynos/exynos_drm_gem.c | 11 +- drivers/gpu/drm/gma500/Makefile | 1 - drivers/gpu/drm/gma500/mdfld_tpo_vid.c | 2 - drivers/gpu/drm/hisilicon/hibmc/Makefile | 1 - drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c | 2 +- drivers/gpu/drm/i2c/Makefile | 2 - drivers/gpu/drm/i810/Makefile | 1 - drivers/gpu/drm/i915/i915_debugfs.c | 18 +-- drivers/gpu/drm/i915/i915_gem.c | 4 +- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 34 ++--- drivers/gpu/drm/i915/i915_gem_gtt.c | 6 +- drivers/gpu/drm/i915/i915_gem_userptr.c | 8 +- drivers/gpu/drm/i915/intel_atomic_plane.c | 6 +- drivers/gpu/drm/i915/intel_display.c | 50 +++---- drivers/gpu/drm/i915/intel_fbc.c | 2 +- drivers/gpu/drm/i915/intel_fbdev.c | 2 +- drivers/gpu/drm/i915/intel_sprite.c | 20 +-- drivers/gpu/drm/i915/selftests/intel_breadcrumbs.c | 12 +- drivers/gpu/drm/imx/ipuv3-plane.c | 2 +- drivers/gpu/drm/mga/Makefile | 1 - drivers/gpu/drm/mgag200/Makefile | 1 - drivers/gpu/drm/mgag200/mgag200_ttm.c | 3 +- drivers/gpu/drm/msm/Makefile | 2 +- drivers/gpu/drm/msm/dsi/dsi.h | 6 +- drivers/gpu/drm/msm/edp/edp.h | 4 +- drivers/gpu/drm/msm/edp/edp_ctrl.c | 6 +- drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c | 10 +- drivers/gpu/drm/msm/mdp/mdp4/mdp4_dsi_encoder.c | 6 +- drivers/gpu/drm/msm/mdp/mdp4/mdp4_dtv_encoder.c | 7 +- drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h | 4 +- drivers/gpu/drm/msm/mdp/mdp4/mdp4_lcdc_encoder.c | 6 +- drivers/gpu/drm/msm/mdp/mdp5/mdp5_cmd_encoder.c | 6 +- drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c | 10 +- drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c | 6 +- drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 30 ++-- drivers/gpu/drm/msm/msm_fb.c | 6 +- drivers/gpu/drm/msm/msm_fbdev.c | 6 +- drivers/gpu/drm/msm/msm_gem.c | 10 +- drivers/gpu/drm/nouveau/Kbuild | 1 - drivers/gpu/drm/nouveau/nouveau_drm.c | 4 +- drivers/gpu/drm/nouveau/nouveau_drv.h | 2 +- drivers/gpu/drm/nouveau/nouveau_ttm.c | 2 +- drivers/gpu/drm/nouveau/nv50_display.c | 2 +- drivers/gpu/drm/omapdrm/Makefile | 1 - drivers/gpu/drm/omapdrm/omap_drv.c | 4 +- drivers/gpu/drm/omapdrm/omap_fb.c | 18 +-- drivers/gpu/drm/omapdrm/omap_plane.c | 16 +- drivers/gpu/drm/pl111/Kconfig | 1 + drivers/gpu/drm/pl111/Makefile | 2 + drivers/gpu/drm/pl111/pl111_debugfs.c | 55 +++++++ drivers/gpu/drm/pl111/pl111_display.c | 164 +++++++++++++++++++-- drivers/gpu/drm/pl111/pl111_drm.h | 11 ++ drivers/gpu/drm/pl111/pl111_drv.c | 21 ++- drivers/gpu/drm/qxl/Makefile | 2 - drivers/gpu/drm/qxl/qxl_debugfs.c | 2 +- drivers/gpu/drm/qxl/qxl_display.c | 9 +- drivers/gpu/drm/qxl/qxl_drv.c | 6 +- drivers/gpu/drm/qxl/qxl_drv.h | 18 +-- drivers/gpu/drm/qxl/qxl_fb.c | 11 +- drivers/gpu/drm/qxl/qxl_gem.c | 5 +- drivers/gpu/drm/qxl/qxl_ttm.c | 10 +- drivers/gpu/drm/r128/Makefile | 1 - drivers/gpu/drm/radeon/Makefile | 2 +- drivers/gpu/drm/radeon/btc_dpm.c | 2 +- drivers/gpu/drm/radeon/ci_dpm.c | 2 +- drivers/gpu/drm/radeon/ci_smc.c | 2 +- drivers/gpu/drm/radeon/cik.c | 2 +- drivers/gpu/drm/radeon/cypress_dpm.c | 2 +- drivers/gpu/drm/radeon/kv_dpm.c | 2 +- drivers/gpu/drm/radeon/kv_smc.c | 2 +- drivers/gpu/drm/radeon/ni_dpm.c | 2 +- drivers/gpu/drm/radeon/r600_dpm.c | 2 +- drivers/gpu/drm/radeon/radeon.h | 10 +- drivers/gpu/drm/radeon/radeon_cs.c | 11 +- drivers/gpu/drm/radeon/radeon_drv.c | 2 +- drivers/gpu/drm/radeon/radeon_gem.c | 2 +- drivers/gpu/drm/radeon/radeon_ring.c | 4 +- drivers/gpu/drm/radeon/radeon_ttm.c | 10 +- drivers/gpu/drm/radeon/radeon_vm.c | 4 +- drivers/gpu/drm/radeon/rs780_dpm.c | 2 +- drivers/gpu/drm/radeon/rv6xx_dpm.c | 2 +- drivers/gpu/drm/radeon/rv730_dpm.c | 2 +- drivers/gpu/drm/radeon/rv740_dpm.c | 2 +- drivers/gpu/drm/radeon/rv770_dpm.c | 2 +- drivers/gpu/drm/radeon/rv770_smc.c | 2 +- drivers/gpu/drm/radeon/si_dpm.c | 2 +- drivers/gpu/drm/radeon/si_smc.c | 2 +- drivers/gpu/drm/radeon/sumo_dpm.c | 2 +- drivers/gpu/drm/radeon/sumo_smc.c | 2 +- drivers/gpu/drm/radeon/trinity_dpm.c | 2 +- drivers/gpu/drm/radeon/trinity_smc.c | 2 +- drivers/gpu/drm/savage/Makefile | 1 - drivers/gpu/drm/sis/Makefile | 1 - drivers/gpu/drm/sti/sti_compositor.c | 2 +- drivers/gpu/drm/stm/Makefile | 2 - drivers/gpu/drm/stm/ltdc.c | 2 +- drivers/gpu/drm/tdfx/Makefile | 1 - drivers/gpu/drm/tilcdc/Makefile | 1 - drivers/gpu/drm/tilcdc/tilcdc_drv.c | 3 +- drivers/gpu/drm/ttm/Makefile | 1 - drivers/gpu/drm/ttm/ttm_bo_vm.c | 6 +- drivers/gpu/drm/ttm/ttm_tt.c | 13 +- drivers/gpu/drm/udl/Makefile | 3 - drivers/gpu/drm/udl/udl_dmabuf.c | 2 +- drivers/gpu/drm/udl/udl_gem.c | 2 +- drivers/gpu/drm/vc4/Kconfig | 2 +- drivers/gpu/drm/vc4/Makefile | 2 - drivers/gpu/drm/vc4/vc4_crtc.c | 14 +- drivers/gpu/drm/vc4/vc4_dpi.c | 16 +- drivers/gpu/drm/vc4/vc4_drv.c | 2 +- drivers/gpu/drm/vc4/vc4_drv.h | 6 +- drivers/gpu/drm/vc4/vc4_dsi.c | 140 +++++++++++++----- drivers/gpu/drm/vc4/vc4_gem.c | 15 +- drivers/gpu/drm/vc4/vc4_hdmi.c | 30 ++-- drivers/gpu/drm/vc4/vc4_hvs.c | 2 +- drivers/gpu/drm/vc4/vc4_kms.c | 12 +- drivers/gpu/drm/vc4/vc4_plane.c | 9 +- drivers/gpu/drm/vc4/vc4_v3d.c | 6 +- drivers/gpu/drm/vc4/vc4_validate.c | 3 +- drivers/gpu/drm/vgem/Makefile | 1 - drivers/gpu/drm/vgem/vgem_drv.c | 8 +- drivers/gpu/drm/via/Makefile | 1 - drivers/gpu/drm/virtio/Makefile | 2 - drivers/gpu/drm/virtio/virtgpu_debugfs.c | 2 +- drivers/gpu/drm/virtio/virtgpu_drv.c | 4 +- drivers/gpu/drm/virtio/virtgpu_drv.h | 8 +- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 32 ++-- drivers/gpu/drm/virtio/virtgpu_ttm.c | 10 +- drivers/gpu/drm/vmwgfx/Makefile | 3 - drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 3 +- drivers/gpu/drm/vmwgfx/vmwgfx_context.c | 3 +- drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c | 3 +- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 4 +- drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_shader.c | 3 +- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 3 +- drivers/gpu/host1x/Kconfig | 1 + include/drm/drmP.h | 1 - include/drm/drm_blend.h | 21 +-- include/drm/drm_bridge.h | 42 +++++- include/drm/drm_connector.h | 2 +- include/drm/drm_crtc.h | 28 +++- include/drm/drm_mem_util.h | 78 ---------- include/drm/drm_modeset_helper_vtables.h | 159 +++++++++++++++----- include/drm/drm_panel.h | 2 + include/drm/ttm/ttm_bo_driver.h | 9 +- include/drm/ttm/ttm_execbuf_util.h | 3 +- include/drm/ttm/ttm_lock.h | 3 +- include/drm/ttm/ttm_object.h | 3 +- include/linux/amba/clcd-regs.h | 5 + include/linux/sync_file.h | 11 +- include/uapi/drm/drm_mode.h | 49 +++++- 224 files changed, 1194 insertions(+), 814 deletions(-) create mode 100644 drivers/gpu/drm/pl111/pl111_debugfs.c delete mode 100644 include/drm/drm_mem_util.h -- Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx