Hi Dave, This is my first pull request for v4.18. Only UAPI change is adding a generic plane alpha property, which replaces the driver specific ones in sun4i, rcar-du and atmel-hclcdc.
drm-misc-next-2018-04-26: drm-misc-next for v4.18: UAPI Changes: - Add support for a generic plane alpha property to sun4i, rcar-du and atmel-hclcdc. (Maxime) Core Changes: - Stop looking at legacy plane->fb and crtc members in atomic drivers. (Ville) - mode_valid return type fixes. (Luc) - Handle zpos normalization in the core. (Peter) Driver Changes: - Implement CTM, plane alpha and generic async cursor support in vc4. (Stefan) - Various fixes for HPD and aux chan in drm_bridge/analogix_dp. (Lin, Zain, Douglas) - Add support for MIPI DSI to sun4i. (Maxime) The following changes since commit 694f54f680f7fd8e9561928fbfc537d9afbc3d79: Merge branch 'drm-misc-next-fixes' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (2018-03-29 09:25:13 +1000) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2018-04-26 for you to fetch changes up to 741c3aeb82c78e173aa7155aaffb971e5c73ab3c: drm/bridge/synopsys: dsi: use adjusted_mode in mode_set (2018-04-26 08:24:26 +0200) And lots of various fixes and cleanups. :) Cc: Luc Van Oostenryck <luc.vanoostenr...@gmail.com> Cc: Daniel Vetter <daniel.vet...@ffwll.ch> Cc: Maxime Ripard <maxime.rip...@bootlin.com> Cc: Stefan Schake <stsch...@gmail.com> Cc: Ville Syrjälä <ville.syrj...@linux.intel.com> Cc: Peter Ujfalusi <peter.ujfal...@ti.com> Cc: Douglas Anderson <diand...@chromium.org> Cc: zain wang <w...@rock-chips.com> Cc: Lin Huang <h...@rock-chips.com> ---------------------------------------------------------------- drm-misc-next for v4.18: UAPI Changes: - Add support for a generic plane alpha property to sun4i, rcar-du and atmel-hclcdc. (Maxime) Core Changes: - Stop looking at legacy plane->fb and crtc members in atomic drivers. (Ville) - mode_valid return type fixes. (Luc) - Handle zpos normalization in the core. (Peter) Driver Changes: - Implement CTM, plane alpha and generic async cursor support in vc4. (Stefan) - Various fixes for HPD and aux chan in drm_bridge/analogix_dp. (Lin, Zain, Douglas) - Add support for MIPI DSI to sun4i. (Maxime) ---------------------------------------------------------------- Andy Shevchenko (1): drm/dp/mst: Fix off-by-one typo when dump payload table Arushi Singhal (2): gpu: drm/lease:: Use list_{next/prev}_entry instead of list_entry gpu: drm: nouveau: Use list_{next/prev}_entry instead of list_entry Boris Brezillon (3): drm/atomic: Add sanity checks to drm_atomic_helper_async_commit() drm/bridge: Add Cadence DSI driver dt-bindings: drm/bridge: Document Cadence DSI bridge bindings Daniel Stone (1): drm: Reshuffle getfb error returns Daniel Vetter (14): drm/gem: Document that handle_create must be the last step drm/tinydrm: Use gem_free_object_unlocked staging/vboxvideo: Use gem_free_object_unlocked drm/rockchip: fixup comment for gem_free_object_unlocked drm/udl: Get rid of dev->struct_mutex usage drm/vmwgfx: Remove no-op prepare/cleanup_fb callbacks drm: Move simple_display_pipe prepare_fb helper into gem fb helpers drm/tve200: Use simple_display_pipe prepare_fb helper drm/pl111: Use simple_display_pipe prepare_fb helper drm/mxsfb: Use simple_display_pipe prepare_fb helper drm/atomic: better doc for implicit vs explicit fencing drm/xen-front: use simple display pipe prepare_fb helper drm: Don't EXPORT drm_add/reset_display_info drm/todo: Fallout from v3d review Douglas Anderson (4): drm/bridge: analogix_dp: Reorder plat_data->power_off to happen sooner drm/bridge: analogix_dp: Properly log AUX CH errors drm/bridge: analogix_dp: Properly disable aux chan retries on rockchip drm/bridge: analogix_dp: Split the platform-specific poweron in two parts Eric Anholt (1): drm/vc4: Add some missing HVS register definitions. Fabio Estevam (1): drm: dw-hdmi-i2s: Remove owner assignment from platform_driver Gustavo Padovan (1): drm/vc4: update cursors asynchronously through atomic Haneen Mohammed (1): drm: Remove drm_property_{un/reference}_blob aliases Hans de Goede (2): drm: panel-orientation-quirks: Add quirk for Lenovo Ideapad Mixx 310 drm: panel-orientation-quirks: Add quirk for Lenovo Ideapad Mixx 320 Jacopo Mondi (2): dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder drm: bridge: Add thc63lvd1024 LVDS decoder driver Jani Nikula (3): drm: prefer inline over __inline__ drm: remove old documentation comment cruft from drmP.h drm: make drm_core_check_feature() bool that it is John Keeping (1): drm/rockchip: fix VOP vblank race Kieran Bingham (2): dt-bindings: adv7511: Extend bindings to allow specifying slave map addresses drm: adv7511: Add support for i2c_new_secondary_device Lin Huang (6): drm/bridge: analogix_dp: Move enable video into config_video() drm/bridge: analogix_dp: Check AUX_EN status when doing AUX transfer drm/bridge: analogix_dp: Ensure edp is disabled when shutting down the panel drm/bridge: analogix_dp: Extend hpd check time to 100ms drm/bridge: analogix_dp: Check dpcd write/read status drm/bridge: analogix_dp: Reset aux channel if an error occurred Luc Van Oostenryck (12): drm/ast: fix mode_valid's return type drm/bridge: adv7511: fix mode_valid's return type drm/hisilicon: fix mode_valid's return type drm/mgag200: fix mode_valid's return type drm/udl: fix mode_valid's return type drm/bochs: fix mode_valid's return type drm/bridge: tc358767: fix mode_valid's return type drm/gma500: fix mode_valid's return type drm/gma500: fix psb_intel_lvds_mode_valid()'s return type drm/qxl: fix mode_valid's return type drm/i2c: tda998x: fix mode_valid's return type drm/virtio: fix mode_valid's return type Maarten Lankhorst (1): Merge tag 'mmio-clk-config' of https://git.kernel.org/.../broonie/regmap into drm-misc-next Mark Yao (1): drm/rockchip: pre dither down when output bpc is 8bit Maxime Ripard (9): drm/sun4i: tcon: Add TRI finish interrupt for vblank dt-bindings: display: Add Allwinner MIPI-DSI bindings drm/sun4i: Add Allwinner A31 MIPI-DSI controller support drm/sun4i: Tie the DSI controller in the TCON drm/blend: Add a generic alpha property drm/atmel-hclcdc: Convert to the new generic alpha property drm/rcar-du: Convert to the new generic alpha property drm/sun4i: Add support for plane alpha drm/docs: Remove the rcar alpha from the csv file Noralf Trønnes (1): drm: Use srcu to protect drm_device.unplugged Oleksandr Andrushchenko (3): drm/xen-front: Add support for Xen PV display frontend MAINTAINERS: Add drm/xen-front maintainer entry drm/xen-front: Remove CMA support Oliver O'Halloran (1): drm/sti: Depend on OF rather than selecting it Peter Ujfalusi (6): drm: Add drm_mode_config->normalize_zpos boolean drm/exynos: Let core take care of normalizing the zpos drm/tegra: Let core take care of normalizing the zpos drm/sti: Let core take care of normalizing the zpos drm: rcar-du: Let core take care of normalizing the zpos drm/omap: Use normalized zpos for plane placement Philippe CORNU (5): drm/stm: move enable/disable_vblank to crtc drm/stm: ltdc: add user update info in plane print state drm/stm: ltdc: fix warning in ltdc_crtc_update_clut() drm/bridge/synopsys: dsi: Adopt SPDX identifiers drm/bridge/synopsys: dsi: use adjusted_mode in mode_set Samuel Li (1): drm: add parameter explanation for some gem dmabuf_ops Sean Paul (1): Merge airlied/drm-next into drm-misc-next Stefan Schake (5): drm/vc4: Expose gamma as atomic property drm/vc4: Move CRTC state to header drm/vc4: Add support for plane alpha drm/vc4: Add CTM support drm/vc4: Add CTM registers to debugfs Tomasz Figa (5): drm/rockchip: analogix_dp: Do not call Analogix code before bind drm/rockchip: psr: Avoid redundant calls to .set() callback drm/rockchip: psr: Sanitize semantics of allow/inhibit API drm/rockchip: Disallow PSR for the whole atomic commit drm/rockchip: psr: Remove flush by CRTC Ville Syrjälä (16): drm/scdc-helper: Convert errors into debug messages drm/simple-kms-helper: Plumb plane state to the enable hook drm/tinydrm: Make fb_dirty into a lower level hook drm/atomic-helper: Drop plane->fb references only for drm_atomic_helper_shutdown() drm: Clear crtc->primary->crtc when disabling the crtc via setcrtc() drm/atomic-helper: WARN if legacy plane fb pointers are bogus when committing duplicated state drm: Add local 'plane' variable for primary/cursor planes drm: Adjust whitespace for legibility drm: Make the fb refcount handover less magic drm: Use plane->state->fb over plane->fb drm/i915: Stop consulting plane->fb drm/sti: Stop consulting plane->fb drm/vmwgfx: Stop consulting plane->fb drm/zte: Stop consulting plane->crtc drm/i915: Restore planes after load detection drm/i915: Make force_load_detect effective even w/ DMI quirks/hotplug Wolfram Sang (1): gpu: drm: vc4: simplify getting .drvdata zain wang (11): drm/bridge: analogix_dp: Don't use fast link training when panel just powered up drm/bridge: analogix_dp: Retry bridge enable when it failed drm/bridge: analogix_dp: Wait for HPD signal before configuring link drm/bridge: analogix_dp: Set PD_INC_BG first when powering up edp phy drm/bridge: analogix_dp: Fix incorrect usage of enhanced mode drm/bridge: analogix_dp: Fix AUX_PD bit for Rockchip drm/rockchip: Restore psr->state when enable/disable psr failed drm/bridge: analogix_dp: Don't use ANALOGIX_DP_PLL_CTL to control pll drm/bridge: analogix_dp: Fix timeout of video streamclk config drm/bridge: analogix_dp: Fix incorrect operations with register ANALOGIX_DP_FUNC_EN_1 drm/bridge: analogix_dp: Move fast link training detect to set_bridge .../bindings/display/bridge/adi,adv7511.txt | 18 +- .../bindings/display/bridge/cdns,dsi.txt | 133 ++ .../bindings/display/bridge/thine,thc63lvd1024.txt | 60 + .../bindings/display/sunxi/sun6i-dsi.txt | 93 ++ Documentation/gpu/drivers.rst | 1 + Documentation/gpu/kms-properties.csv | 1 - Documentation/gpu/todo.rst | 18 + Documentation/gpu/xen-front.rst | 31 + MAINTAINERS | 9 + drivers/base/regmap/regmap-mmio.c | 24 + drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/ast/ast_mode.c | 2 +- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h | 13 - drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 89 +- drivers/gpu/drm/bochs/bochs_kms.c | 2 +- drivers/gpu/drm/bridge/Kconfig | 16 + drivers/gpu/drm/bridge/Makefile | 2 + drivers/gpu/drm/bridge/adv7511/adv7511.h | 6 + drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 44 +- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 331 ++-- drivers/gpu/drm/bridge/analogix/analogix_dp_core.h | 5 +- drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c | 236 +-- drivers/gpu/drm/bridge/analogix/analogix_dp_reg.h | 7 + drivers/gpu/drm/bridge/cdns-dsi.c | 1623 ++++++++++++++++++++ .../gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 1 - drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 18 +- drivers/gpu/drm/bridge/tc358767.c | 2 +- drivers/gpu/drm/bridge/thc63lvd1024.c | 206 +++ drivers/gpu/drm/drm_atomic.c | 12 + drivers/gpu/drm/drm_atomic_helper.c | 107 +- drivers/gpu/drm/drm_blend.c | 39 + drivers/gpu/drm/drm_crtc.c | 45 +- drivers/gpu/drm/drm_crtc_internal.h | 2 + drivers/gpu/drm/drm_dp_mst_topology.c | 9 +- drivers/gpu/drm/drm_drv.c | 54 +- drivers/gpu/drm/drm_edid.c | 2 - drivers/gpu/drm/drm_framebuffer.c | 34 +- drivers/gpu/drm/drm_gem.c | 9 +- drivers/gpu/drm/drm_gem_framebuffer_helper.c | 19 + drivers/gpu/drm/drm_lease.c | 2 +- drivers/gpu/drm/drm_panel_orientation_quirks.c | 22 +- drivers/gpu/drm/drm_plane.c | 54 +- drivers/gpu/drm/drm_prime.c | 13 + drivers/gpu/drm/drm_scdc_helper.c | 10 +- drivers/gpu/drm/drm_simple_kms_helper.c | 4 +- drivers/gpu/drm/exynos/exynos_dp.c | 2 +- drivers/gpu/drm/exynos/exynos_drm_drv.c | 20 - drivers/gpu/drm/exynos/exynos_drm_drv.h | 1 - drivers/gpu/drm/exynos/exynos_drm_fb.c | 4 +- drivers/gpu/drm/gma500/cdv_intel_crt.c | 2 +- drivers/gpu/drm/gma500/cdv_intel_dp.c | 2 +- drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 2 +- drivers/gpu/drm/gma500/cdv_intel_lvds.c | 2 +- drivers/gpu/drm/gma500/mdfld_dsi_output.c | 2 +- drivers/gpu/drm/gma500/oaktrail_hdmi.c | 2 +- drivers/gpu/drm/gma500/psb_intel_drv.h | 2 +- drivers/gpu/drm/gma500/psb_intel_lvds.c | 2 +- drivers/gpu/drm/gma500/psb_intel_sdvo.c | 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 2 +- drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- drivers/gpu/drm/i915/intel_crt.c | 8 +- drivers/gpu/drm/i915/intel_display.c | 4 +- drivers/gpu/drm/i915/intel_fbdev.c | 2 +- drivers/gpu/drm/mgag200/mgag200_mode.c | 2 +- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 11 +- drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c | 2 +- drivers/gpu/drm/omapdrm/omap_drv.c | 3 + drivers/gpu/drm/omapdrm/omap_plane.c | 2 +- drivers/gpu/drm/pl111/pl111_display.c | 11 +- drivers/gpu/drm/qxl/qxl_display.c | 2 +- drivers/gpu/drm/rcar-du/rcar_du_drv.h | 1 - drivers/gpu/drm/rcar-du/rcar_du_kms.c | 16 +- drivers/gpu/drm/rcar-du/rcar_du_plane.c | 15 +- drivers/gpu/drm/rcar-du/rcar_du_plane.h | 2 - drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 42 +- drivers/gpu/drm/rcar-du/rcar_du_vsp.h | 3 - drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 37 +- drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 1 + drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 61 +- drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 4 +- drivers/gpu/drm/rockchip/rockchip_drm_psr.c | 158 +- drivers/gpu/drm/rockchip/rockchip_drm_psr.h | 7 +- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 15 +- drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 1 + drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 1 + drivers/gpu/drm/sti/Kconfig | 3 +- drivers/gpu/drm/sti/sti_drv.c | 24 +- drivers/gpu/drm/sti/sti_plane.c | 9 +- drivers/gpu/drm/stm/drv.c | 2 - drivers/gpu/drm/stm/ltdc.c | 35 +- drivers/gpu/drm/stm/ltdc.h | 10 +- drivers/gpu/drm/sun4i/Kconfig | 10 + drivers/gpu/drm/sun4i/Makefile | 4 + drivers/gpu/drm/sun4i/sun4i_backend.c | 16 +- drivers/gpu/drm/sun4i/sun4i_backend.h | 3 + drivers/gpu/drm/sun4i/sun4i_layer.c | 2 + drivers/gpu/drm/sun4i/sun4i_tcon.c | 86 +- drivers/gpu/drm/sun4i/sun4i_tcon.h | 46 + drivers/gpu/drm/sun4i/sun6i_mipi_dphy.c | 292 ++++ drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 1107 +++++++++++++ drivers/gpu/drm/sun4i/sun6i_mipi_dsi.h | 63 + drivers/gpu/drm/tegra/drm.c | 21 +- drivers/gpu/drm/tinydrm/core/tinydrm-core.c | 2 +- drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 30 + drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c | 22 +- drivers/gpu/drm/tinydrm/ili9225.c | 28 +- drivers/gpu/drm/tinydrm/mi0283qt.c | 8 +- drivers/gpu/drm/tinydrm/mipi-dbi.c | 30 +- drivers/gpu/drm/tinydrm/repaper.c | 33 +- drivers/gpu/drm/tinydrm/st7586.c | 28 +- drivers/gpu/drm/tinydrm/st7735r.c | 7 +- drivers/gpu/drm/tve200/tve200_display.c | 11 +- drivers/gpu/drm/udl/udl_connector.c | 2 +- drivers/gpu/drm/udl/udl_dmabuf.c | 5 +- drivers/gpu/drm/udl/udl_drv.c | 2 +- drivers/gpu/drm/udl/udl_drv.h | 2 + drivers/gpu/drm/udl/udl_gem.c | 5 +- drivers/gpu/drm/udl/udl_main.c | 2 + drivers/gpu/drm/vc4/vc4_crtc.c | 75 +- drivers/gpu/drm/vc4/vc4_drv.c | 6 +- drivers/gpu/drm/vc4/vc4_drv.h | 37 + drivers/gpu/drm/vc4/vc4_hvs.c | 4 + drivers/gpu/drm/vc4/vc4_kms.c | 224 ++- drivers/gpu/drm/vc4/vc4_plane.c | 152 +- drivers/gpu/drm/vc4/vc4_regs.h | 97 ++ drivers/gpu/drm/virtio/virtgpu_display.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 6 +- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 35 - drivers/gpu/drm/xen/Kconfig | 17 + drivers/gpu/drm/xen/Makefile | 11 + drivers/gpu/drm/xen/xen_drm_front.c | 840 ++++++++++ drivers/gpu/drm/xen/xen_drm_front.h | 158 ++ drivers/gpu/drm/xen/xen_drm_front_cfg.c | 77 + drivers/gpu/drm/xen/xen_drm_front_cfg.h | 37 + drivers/gpu/drm/xen/xen_drm_front_conn.c | 115 ++ drivers/gpu/drm/xen/xen_drm_front_conn.h | 27 + drivers/gpu/drm/xen/xen_drm_front_evtchnl.c | 387 +++++ drivers/gpu/drm/xen/xen_drm_front_evtchnl.h | 81 + drivers/gpu/drm/xen/xen_drm_front_gem.c | 308 ++++ drivers/gpu/drm/xen/xen_drm_front_gem.h | 40 + drivers/gpu/drm/xen/xen_drm_front_kms.c | 366 +++++ drivers/gpu/drm/xen/xen_drm_front_kms.h | 26 + drivers/gpu/drm/xen/xen_drm_front_shbuf.c | 414 +++++ drivers/gpu/drm/xen/xen_drm_front_shbuf.h | 64 + drivers/gpu/drm/zte/zx_plane.c | 2 +- drivers/gpu/drm/zte/zx_vou.c | 5 +- drivers/gpu/drm/zte/zx_vou.h | 3 +- drivers/staging/vboxvideo/vbox_drv.c | 2 +- include/drm/bridge/analogix_dp.h | 3 +- include/drm/drmP.h | 28 +- include/drm/drm_blend.h | 3 + include/drm/drm_device.h | 9 +- include/drm/drm_drv.h | 15 +- include/drm/drm_edid.h | 2 - include/drm/drm_gem_framebuffer_helper.h | 3 + include/drm/drm_legacy.h | 4 +- include/drm/drm_mode_config.h | 8 + include/drm/drm_modeset_helper_vtables.h | 5 +- include/drm/drm_plane.h | 21 +- include/drm/drm_property.h | 26 - include/drm/drm_simple_kms_helper.h | 6 +- include/drm/tinydrm/mipi-dbi.h | 4 +- include/drm/tinydrm/tinydrm-helpers.h | 5 + include/drm/tinydrm/tinydrm.h | 8 +- include/linux/regmap.h | 3 + scripts/coccinelle/api/drm-get-put.cocci | 10 - 167 files changed, 8526 insertions(+), 1096 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,dsi.txt create mode 100644 Documentation/devicetree/bindings/display/bridge/thine,thc63lvd1024.txt create mode 100644 Documentation/devicetree/bindings/display/sunxi/sun6i-dsi.txt create mode 100644 Documentation/gpu/xen-front.rst create mode 100644 drivers/gpu/drm/bridge/cdns-dsi.c create mode 100644 drivers/gpu/drm/bridge/thc63lvd1024.c create mode 100644 drivers/gpu/drm/sun4i/sun6i_mipi_dphy.c create mode 100644 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c create mode 100644 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.h create mode 100644 drivers/gpu/drm/xen/Kconfig create mode 100644 drivers/gpu/drm/xen/Makefile create mode 100644 drivers/gpu/drm/xen/xen_drm_front.c create mode 100644 drivers/gpu/drm/xen/xen_drm_front.h create mode 100644 drivers/gpu/drm/xen/xen_drm_front_cfg.c create mode 100644 drivers/gpu/drm/xen/xen_drm_front_cfg.h create mode 100644 drivers/gpu/drm/xen/xen_drm_front_conn.c create mode 100644 drivers/gpu/drm/xen/xen_drm_front_conn.h create mode 100644 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c create mode 100644 drivers/gpu/drm/xen/xen_drm_front_evtchnl.h create mode 100644 drivers/gpu/drm/xen/xen_drm_front_gem.c create mode 100644 drivers/gpu/drm/xen/xen_drm_front_gem.h create mode 100644 drivers/gpu/drm/xen/xen_drm_front_kms.c create mode 100644 drivers/gpu/drm/xen/xen_drm_front_kms.h create mode 100644 drivers/gpu/drm/xen/xen_drm_front_shbuf.c create mode 100644 drivers/gpu/drm/xen/xen_drm_front_shbuf.h _______________________________________________ dim-tools mailing list dim-tools@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dim-tools