Hi Dave, This is the last spam from me today. Here's the -misc-next pull for the past couple of months. Given how long 4.15 took to get out the door, it's not all that big, probably offset by the holidays. Anyways, lots of good stuff in here for you. drm-misc-next-2018-02-13: drm-misc-next for 4.17: UAPI Changes: - drm/vc4: Expose performance counters to userspace (Boris) Cross-subsystem Changes: - MAINTAINERS: Linus to maintain panel-arm-versatile in -misc (Linus) Core Changes: - Only use swiotlb when necessary (Chunming) Driver Changes: - drm/panel: Add support for ARM Versatile panels (Linus) - pl111: Improvements around versatile panel support (Linus) ---------------------------------------- Tagged on 2018-02-06: drm-misc-next for 4.17: UAPI Changes: - Validate mode flags + type (Ville) - Deprecate unused mode flags PIXMUX, BCAST (Ville) - Deprecate unused mode types BUILTIN, CRTC_C, CLOCK_C, DEFAULT (Ville) Cross-subsystem Changes: - MAINTAINERS: s/Daniel/Maarten/ for drm-misc (Daniel) Core Changes: - gem: Export gem functions for drivers to use (Samuel) - bridge: Introduce bridge timings in drm_bridge (Linus) - dma-buf: Allow exclusive fence to be bundled in fence array when calling reservation_object_get_fences_rcu (Christian) - dp: Add training pattern 4 and HBR3 support to dp helpers (Manasi) - fourcc: Add alpha bit to formats to avoid driver format LUTs (Maxime) - mode: Various cleanups + add new device-wide .mode_valid hook (Ville) - atomic: Fix state leak when non-blocking commits fail (Leo) NOTE: IIRC, this was cross-picked to -fixes so it might fall out - crc: Allow polling on the data fd (Maarten) Driver Changes: - bridge/vga-dac: Add THS8134* support (Linus) - tinydrm: Various MIPI DBI improvements/cleanups (Noralf) - bridge/dw-mipi-dsi: Cleanups + use create_packet helper (Brian) - drm/sun4i: Add Display Engine frontend support (Maxime) - drm/sun4i: Add zpos support + increase num planes from 2 to 4 (Maxime) - various: Use drm_mode_get_hv_timing() to fill plane clip rectangle (Ville) - stm: Add 8-bit clut support, add dsi phy v1.31 support, +fixes (Phillipe) Cc: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx> Cc: Chunming Zhou <david1.zhou@xxxxxxx> Cc: Samuel Li <Samuel.Li@xxxxxxx> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> Cc: Noralf Trønnes <noralf@xxxxxxxxxxx> Cc: Brian Norris <briannorris@xxxxxxxxxxxx> Cc: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx> Cc: Ville Syrjala <ville.syrjala@xxxxxxxxxxxxxxx> Cc: Christian König <christian.koenig@xxxxxxx> Cc: Manasi Navare <manasi.d.navare@xxxxxxxxx> Cc: Philippe Cornu <philippe.cornu@xxxxxx> Cc: Leo (Sunpeng) Li <sunpeng.li@xxxxxxx> Cc: Daniel Vetter <daniel.vetter@xxxxxxxx> Cc: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx> Cheers, Sean The following changes since commit 4a6cc7a44e98a0460bd094b68c75f0705fdc450a: BackMerge tag 'v4.15-rc8' into drm-next (2018-01-18 09:32:15 +1000) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2018-02-13 for you to fetch changes up to 1bc3d3cce8c3b44c2b5ac6cee98c830bb40e6b0f: drm/radeon: only enable swiotlb path when need v2 (2018-02-13 13:35:14 -0500) ---------------------------------------------------------------- drm-misc-next for 4.17: UAPI Changes: - drm/vc4: Expose performance counters to userspace (Boris) Cross-subsystem Changes: - MAINTAINERS: Linus to maintain panel-arm-versatile in -misc (Linus) Core Changes: - Only use swiotlb when necessary (Chunming) Driver Changes: - drm/panel: Add support for ARM Versatile panels (Linus) - pl111: Improvements around versatile panel support (Linus) ---------------------------------------- Tagged on 2018-02-06: drm-misc-next for 4.17: UAPI Changes: - Validate mode flags + type (Ville) - Deprecate unused mode flags PIXMUX, BCAST (Ville) - Deprecate unused mode types BUILTIN, CRTC_C, CLOCK_C, DEFAULT (Ville) Cross-subsystem Changes: - MAINTAINERS: s/Daniel/Maarten/ for drm-misc (Daniel) Core Changes: - gem: Export gem functions for drivers to use (Samuel) - bridge: Introduce bridge timings in drm_bridge (Linus) - dma-buf: Allow exclusive fence to be bundled in fence array when calling reservation_object_get_fences_rcu (Christian) - dp: Add training pattern 4 and HBR3 support to dp helpers (Manasi) - fourcc: Add alpha bit to formats to avoid driver format LUTs (Maxime) - mode: Various cleanups + add new device-wide .mode_valid hook (Ville) - atomic: Fix state leak when non-blocking commits fail (Leo) NOTE: IIRC, this was cross-picked to -fixes so it might fall out - crc: Allow polling on the data fd (Maarten) Driver Changes: - bridge/vga-dac: Add THS8134* support (Linus) - tinydrm: Various MIPI DBI improvements/cleanups (Noralf) - bridge/dw-mipi-dsi: Cleanups + use create_packet helper (Brian) - drm/sun4i: Add Display Engine frontend support (Maxime) - drm/sun4i: Add zpos support + increase num planes from 2 to 4 (Maxime) - various: Use drm_mode_get_hv_timing() to fill plane clip rectangle (Ville) - stm: Add 8-bit clut support, add dsi phy v1.31 support, +fixes (Phillipe) Cc: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx> Cc: Chunming Zhou <david1.zhou@xxxxxxx> Cc: Samuel Li <Samuel.Li@xxxxxxx> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> Cc: Noralf Trønnes <noralf@xxxxxxxxxxx> Cc: Brian Norris <briannorris@xxxxxxxxxxxx> Cc: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx> Cc: Ville Syrjala <ville.syrjala@xxxxxxxxxxxxxxx> Cc: Christian König <christian.koenig@xxxxxxx> Cc: Manasi Navare <manasi.d.navare@xxxxxxxxx> Cc: Philippe Cornu <philippe.cornu@xxxxxx> Cc: Leo (Sunpeng) Li <sunpeng.li@xxxxxxx> Cc: Daniel Vetter <daniel.vetter@xxxxxxxx> Cc: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx> ---------------------------------------------------------------- Andy Shevchenko (3): drm/bridge: analogix-anx78xx: Remove duplicate NULL check drm/i2c/sil164: Remove duplicate NULL check drm/i2c: tda998x: Remove duplicate NULL check Boris Brezillon (1): drm/vc4: Expose performance counters to userspace Brian Norris (4): drm/bridge/synopsys: stop clobbering drvdata drm/bridge/synopsys: dsi: make dw_mipi_dsi_bridge_mode_set() static drm/bridge/synopsys: dsi: use common mipi_dsi_create_packet() drm/bridge/synopsys: dsi: handle endianness correctly in dw_mipi_dsi_write() Christian König (1): dma-buf: make returning the exclusive fence optional Chunming Zhou (3): drm: add func to get max iomem address v2 drm/amdgpu: only enable swiotlb alloc when need v2 drm/radeon: only enable swiotlb path when need v2 Dan Carpenter (1): drm/mgag200: fix a test in mga_vga_mode_valid() Daniel Vetter (2): drm/arcpgu: remove drm_encoder_slave MAINTAINERS: Maarten for drm-misc co-maintainer Eric Anholt (1): drm: Print the pid when debug logging an ioctl error. Gustavo A. R. Silva (1): drm/edid: use true and false for boolean values Leo (Sunpeng) Li (2): drm/atomic: Fix memleak on ERESTARTSYS during non-blocking commits drm/atomic: Fix memleak on ERESTARTSYS during non-blocking commits Linus Walleij (12): drm/bridge: Add bindings for TI THS8134 drm/bridge: Provide a way to embed timing info in bridges drm/bridge: Add timing support to dumb VGA DAC drm/pl111: Support handling bridge timings drm/bridge: Rename argument from crtc to bridge drm/panel: Device tree bindings for ARM Versatile panels drm/panel: Add support for ARM Versatile panels drm/pl111: Properly detect the ARM PL110 variants drm/pl111: Handle the Versatile RGB/BGR565 mode drm/pl111: Support variants with broken clock divider drm/pl111: Support variants with broken VBLANK drm/pl111: Support multiple endpoints on the CLCD Maarten Lankhorst (3): Revert "drm/atomic: Fix memleak on ERESTARTSYS during non-blocking commits" drm/atomic: Remove WARN_ON for invalid plane configuration. drm/crc: Add support for polling on the data fd. Manasi Navare (2): drm/dp: Add HBR3 support in existing DRM DP helpers drm/dp: Add definitions for TPS4 bits and macros to check the support Maxime Ripard (24): drm/sun4i: backend: Move line stride setup to buffer setup function drm/sun4i: backend: Document the engine operations drm/sun4i: backend: Allow a NULL plane pointer to retrieve the format drm/sun4i: backend: Add a custom plane state drm/sun4i: engine: Add a custom crtc atomic_check drm/sun4i: engine: Add a VBLANK quirk callback drm/sun4i: engine: Create an atomic_begin callback drm/sun4i: Add a driver for the display frontend drm/sun4i: backend: Wire in the frontend drm/sun4i: backend: Add a custom atomic_check for the frontend drm/sun4i: backend: Use runtime_pm variant of atomic_commit_tail drm/sun4i: backend: Make sure we don't have a commit pending drm/fourcc: Add a alpha field to drm_format_info drm/atmel-hlcdc: Use the alpha format field in drm_format_info drm/atmel-exynos: Use the alpha format field in drm_format_info drm/rockchip: Use the alpha format field in drm_format_info drm/vc4: Use the alpha format field in drm_format_info drm/sun4i: backend: Fix structure indentation drm/sun4i: backend: Fix define typo drm/sun4i: framebuffer: Add a custom atomic_check drm/sun4i: backend: Move the coord function in the shared part drm/sun4i: backend: Set a default zpos in our reset hook drm/sun4i: backend: Add support for zpos drm/sun4i: backend: Check for the number of alpha planes Noralf Trønnes (8): drm/ioctl: Remove trailing whitespace drm/tinydrm/mi0283qt: Use common include order drm/tinydrm/mi0283qt: Remove ili9341.h drm/tinydrm/mipi-dbi: Add mipi_dbi_enable_flush() drm/tinydrm/mipi-dbi: Add poweron-reset functions drm/tinydrm/mi0283qt: Let the display pipe handle power drm/tinydrm: Embed the mode in tinydrm_connector drm/tinydrm/mipi-dbi: Change reset active time Philippe CORNU (6): drm/stm: ltdc: add clut mode support drm/stm: ltdc: use crtc_mode_fixup to update adjusted_mode clock dt-bindings: display: stm32: correct clock-names in dsi panel example drm/stm: dsi: Add 1.31 version support drm/stm: ltdc: add non-alpha color formats drm/stm: ltdc: remove non-alpha color formats on layer 2 for older hw Philippe Cornu (6): drm/dsi: Fix improper use of mipi_dsi_device_transfer() return value drm/stm: drv: Improve data transfers drm/bridge/synopsys: dsi: Add a warning msg on dsi read requests drm/bridge/synopsys: dsi: Fix dsi_host_transfer() return value drm/bridge/synopsys: dsi: Add read feature drm/bridge/synopsys: dsi: Add 1.31 version support Samuel Li (2): drm: export gem dmabuf_ops for drivers to reuse drm: add kernel doc for exported gem dmabuf_ops Sean Paul (4): drm/panel: panasonic-vvx10f034n00: Fix wuxga_nt_panel_disable() return value Merge airlied/drm-next into drm-misc-next drm/panel: panasonic-vvx10f034n00: More return value fixes drm/sun4i: Fix build warnings in sunxi_engine.h Shawn Guo (1): dma-buf/sw_sync: fix document of sw_sync_create_fence_data Sylwester Nawrocki (1): drm/bridge: analogix: Remove unreachable code from analogic_dp_core.c Tomeu Vizoso (1): drm/virtio: Don't return invalid caps on timeout Ville Syrjälä (27): drm/i915: Reject odd pipe source width with double wide/dual link drm/i915: Use drm_mode_get_hv_timing() to populate plane clip rectangle drm/arm/hdlcd: Use drm_mode_get_hv_timing() to populate plane clip rectangle drm/arm/mali-dp: Use drm_mode_get_hv_timing() to populate plane clip rectangle drm/simple_kms_helper: Use drm_mode_get_hv_timing() to populate plane clip rectangle drm/imx: Use drm_mode_get_hv_timing() to populate plane clip rectangle drm/mediatek: Use drm_mode_get_hv_timing() to populate plane clip rectangle drm/meson: Use drm_mode_get_hv_timing() to populate plane clip rectangle drm/msm/mdp5: Use drm_mode_get_hv_timing() to populate plane clip rectangle drm/nouveau/kms/nv50: Use drm_mode_get_hv_timing() to populate plane clip rectangle drm/rockchip: Use drm_mode_get_hv_timing() to populate plane clip rectangle drm/tegra/dc: Use drm_mode_get_hv_timing() to populate plane clip rectangle drm/vmwgfx: Use drm_mode_get_hv_timing() to populate plane clip rectangle drm/zte: Use drm_mode_get_hv_timing() to populate plane clip rectangle drm: Warn if plane/crtc/encoder/connector index exceeds our 32bit bitmasks drm/modes: Move 3D stereo flag check into drm_mode_validate_basic() drm/uapi: Validate the mode flags/type drm/uapi: Deprecate DRM_MODE_FLAG_PIXMUX drm/uapi: Deprecate DRM_MODE_FLAG_BCAST drm/modes: Fix description of DRM_MODE_TYPE_USERDEF drm/modes: Kill off the oddball DRM_MODE_TYPE_CRTC_C vs. DRM_MODE_TYPE_BUILTIN handling drm/modes: Kill DRM_MODE_TYPE_CLOCK_CRTC_C define drm/uapi: Deprecate nonsense kms mode types drm/modes: Provide global mode_valid hook drm/i915: Provide a device level .mode_valid() hook drm/rcar-du: Use drm_mode_get_hv_timing() to populate plane clip rectangle drm/sun4i: Use drm_mode_get_hv_timing() to populate plane clip rectangle .../bridge/{ti,ths8135.txt => ti,ths813x.txt} | 13 +- .../display/panel/arm,versatile-tft-panel.txt | 31 ++ .../devicetree/bindings/display/st,stm32-ltdc.txt | 2 +- MAINTAINERS | 9 +- drivers/dma-buf/reservation.c | 31 +- drivers/dma-buf/sw_sync.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 6 +- 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 | 3 + drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 + drivers/gpu/drm/arc/arcpgu_hdmi.c | 3 +- drivers/gpu/drm/arc/arcpgu_sim.c | 16 +- drivers/gpu/drm/arm/hdlcd_crtc.c | 5 +- drivers/gpu/drm/arm/malidp_planes.c | 6 +- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 24 +- drivers/gpu/drm/bridge/analogix-anx78xx.c | 3 +- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 6 +- drivers/gpu/drm/bridge/dumb-vga-dac.c | 59 +++- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 200 ++++++----- drivers/gpu/drm/drm_atomic.c | 6 +- drivers/gpu/drm/drm_atomic_helper.c | 15 + drivers/gpu/drm/drm_connector.c | 9 +- drivers/gpu/drm/drm_crtc.c | 6 +- drivers/gpu/drm/drm_debugfs_crc.c | 19 + drivers/gpu/drm/drm_dp_helper.c | 4 + drivers/gpu/drm/drm_dp_mst_topology.c | 3 + drivers/gpu/drm/drm_edid.c | 4 +- drivers/gpu/drm/drm_encoder.c | 4 + drivers/gpu/drm/drm_fourcc.c | 50 +-- drivers/gpu/drm/drm_ioctl.c | 6 +- drivers/gpu/drm/drm_memory.c | 13 + drivers/gpu/drm/drm_mipi_dsi.c | 9 +- drivers/gpu/drm/drm_modes.c | 62 +++- drivers/gpu/drm/drm_plane.c | 4 + drivers/gpu/drm/drm_prime.c | 141 ++++++-- drivers/gpu/drm/drm_probe_helper.c | 2 +- drivers/gpu/drm/drm_simple_kms_helper.c | 5 +- drivers/gpu/drm/exynos/exynos_mixer.c | 14 +- drivers/gpu/drm/i2c/sil164_drv.c | 3 +- drivers/gpu/drm/i2c/tda998x_drv.c | 3 +- drivers/gpu/drm/i915/intel_atomic_plane.c | 8 - drivers/gpu/drm/i915/intel_crt.c | 3 - drivers/gpu/drm/i915/intel_display.c | 56 ++- drivers/gpu/drm/i915/intel_drv.h | 1 - drivers/gpu/drm/i915/intel_dsi.c | 5 - drivers/gpu/drm/i915/intel_dvo.c | 3 - drivers/gpu/drm/i915/intel_fbc.c | 3 +- drivers/gpu/drm/i915/intel_hdmi.c | 3 - drivers/gpu/drm/i915/intel_sdvo.c | 3 - drivers/gpu/drm/i915/intel_sprite.c | 8 +- drivers/gpu/drm/imx/ipuv3-plane.c | 10 +- drivers/gpu/drm/mediatek/mtk_drm_plane.c | 5 +- drivers/gpu/drm/meson/meson_plane.c | 5 +- drivers/gpu/drm/mgag200/mgag200_mode.c | 4 +- drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 20 +- drivers/gpu/drm/nouveau/nv50_display.c | 20 +- drivers/gpu/drm/panel/Kconfig | 10 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-arm-versatile.c | 377 ++++++++++++++++++++ .../gpu/drm/panel/panel-panasonic-vvx10f034n00.c | 16 +- drivers/gpu/drm/pl111/Kconfig | 1 + drivers/gpu/drm/pl111/pl111_display.c | 64 +++- drivers/gpu/drm/pl111/pl111_drm.h | 8 + drivers/gpu/drm/pl111/pl111_drv.c | 138 +++++--- drivers/gpu/drm/pl111/pl111_versatile.c | 86 ++++- drivers/gpu/drm/radeon/radeon.h | 1 + drivers/gpu/drm/radeon/radeon_device.c | 2 + drivers/gpu/drm/radeon/radeon_ttm.c | 6 +- drivers/gpu/drm/rcar-du/rcar_du_plane.c | 9 +- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 22 +- drivers/gpu/drm/stm/drv.c | 20 +- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 53 ++- drivers/gpu/drm/stm/ltdc.c | 118 ++++++- drivers/gpu/drm/stm/ltdc.h | 1 + drivers/gpu/drm/sun4i/Makefile | 3 +- drivers/gpu/drm/sun4i/sun4i_backend.c | 248 ++++++++++++- drivers/gpu/drm/sun4i/sun4i_backend.h | 18 +- drivers/gpu/drm/sun4i/sun4i_crtc.c | 21 +- drivers/gpu/drm/sun4i/sun4i_drv.c | 27 +- drivers/gpu/drm/sun4i/sun4i_drv.h | 1 + drivers/gpu/drm/sun4i/sun4i_framebuffer.c | 24 +- drivers/gpu/drm/sun4i/sun4i_frontend.c | 389 +++++++++++++++++++++ drivers/gpu/drm/sun4i/sun4i_frontend.h | 99 ++++++ drivers/gpu/drm/sun4i/sun4i_layer.c | 117 +++++-- drivers/gpu/drm/sun4i/sun4i_layer.h | 11 + drivers/gpu/drm/sun4i/sun4i_tcon.c | 4 + drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 9 +- drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 9 +- drivers/gpu/drm/sun4i/sunxi_engine.h | 90 +++++ drivers/gpu/drm/tegra/plane.c | 9 +- drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c | 34 +- drivers/gpu/drm/tinydrm/ili9225.c | 6 +- drivers/gpu/drm/tinydrm/mi0283qt.c | 106 +++--- drivers/gpu/drm/tinydrm/mipi-dbi.c | 101 +++++- drivers/gpu/drm/tinydrm/st7586.c | 15 +- drivers/gpu/drm/tinydrm/st7735r.c | 11 +- drivers/gpu/drm/vc4/Makefile | 1 + drivers/gpu/drm/vc4/vc4_drv.c | 26 ++ drivers/gpu/drm/vc4/vc4_drv.h | 68 ++++ drivers/gpu/drm/vc4/vc4_gem.c | 48 ++- drivers/gpu/drm/vc4/vc4_irq.c | 40 ++- drivers/gpu/drm/vc4/vc4_perfmon.c | 188 ++++++++++ drivers/gpu/drm/vc4/vc4_plane.c | 23 +- drivers/gpu/drm/vc4/vc4_regs.h | 35 +- drivers/gpu/drm/vc4/vc4_v3d.c | 64 ++-- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 2 + drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 7 +- drivers/gpu/drm/zte/zx_plane.c | 18 +- include/drm/bridge/dw_mipi_dsi.h | 17 +- include/drm/drm_atomic.h | 9 + include/drm/drm_bridge.h | 35 +- include/drm/drm_cache.h | 2 + include/drm/drm_dp_helper.h | 18 + include/drm/drm_fourcc.h | 2 + include/drm/drm_mode_config.h | 12 + include/drm/drm_modes.h | 24 +- include/drm/drm_prime.h | 22 ++ include/drm/tinydrm/ili9341.h | 54 --- include/drm/tinydrm/mipi-dbi.h | 5 +- include/uapi/drm/drm_mode.h | 30 +- include/uapi/drm/vc4_drm.h | 76 ++++ 123 files changed, 3251 insertions(+), 827 deletions(-) rename Documentation/devicetree/bindings/display/bridge/{ti,ths8135.txt => ti,ths813x.txt} (69%) create mode 100644 Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt create mode 100644 drivers/gpu/drm/panel/panel-arm-versatile.c create mode 100644 drivers/gpu/drm/sun4i/sun4i_frontend.c create mode 100644 drivers/gpu/drm/sun4i/sun4i_frontend.h create mode 100644 drivers/gpu/drm/vc4/vc4_perfmon.c delete mode 100644 include/drm/tinydrm/ili9341.h -- Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx