From patchwork Thu Aug 30 15:28:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10582079 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5E86A5A4 for ; Thu, 30 Aug 2018 15:28:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 479DE2BEA5 for ; Thu, 30 Aug 2018 15:28:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B1B92BEDA; Thu, 30 Aug 2018 15:28:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 713F72BEA5 for ; Thu, 30 Aug 2018 15:28:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5A2D46E207; Thu, 30 Aug 2018 15:28:27 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw1-xc44.google.com (mail-yw1-xc44.google.com [IPv6:2607:f8b0:4864:20::c44]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8978B89B62 for ; Thu, 30 Aug 2018 15:28:25 +0000 (UTC) Received: by mail-yw1-xc44.google.com with SMTP id m62-v6so3622330ywd.6 for ; Thu, 30 Aug 2018 08:28:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=4hmCPZF1ZAaPsZdTYaevuN89dfnPMkrQtSGt/3k+EY4=; b=fklOy2evGHHyxBC0ld1d/K2FFxh89gcU2OiQdwkkL70Ros8+Y7fcQDzZWK0WzqvO20 iA2GbfLqeaDHwiP6gjt+v3MGie+XQHIf2UJFqWBBb7VxLwsHC7uUg6SeMnOqkgWVMei/ fPj+M0iyt45mpgy4p+xnOLEGURIrW9p4+KekT0URPnxmYaae/F//VqW04Woeq3MoKP8i 2D23vHbZaxI8mUtJB3ZwBumgHyERaTVUhNVDfAjf0ck8tF7Q2FseXTcVKpDlRq4JaM+u sjeQQbiMDGEd5BsYzld68Hsskme9roJIGDxVVJhjegw9mVbf4Erf6Oad9Ixu4O25jP+t QhMw== X-Gm-Message-State: APzg51Bmc28yjbD6g1fQm+CfUP9znhpbW/VSQSBF0MYjGYwZfhgFqDyZ dbGE/r7Ee1ZTClR/WvNRftNKXQ== X-Google-Smtp-Source: ANB0VdaOTBDqFOu7vmc7cg5b+gdwBWh1s+pn/LLzYfLe8G45C0zw2iifSA9Qc7l9wQU1yWdLUTF3/A== X-Received: by 2002:a81:6c8a:: with SMTP id h132-v6mr6214957ywc.219.1535642904705; Thu, 30 Aug 2018 08:28:24 -0700 (PDT) Received: from localhost ([2620:0:1013:11:ad55:b1db:adfe:3b9f]) by smtp.gmail.com with ESMTPSA id w80-v6sm3290069ywd.55.2018.08.30.08.28.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 Aug 2018 08:28:24 -0700 (PDT) Date: Thu, 30 Aug 2018 11:28:23 -0400 From: Sean Paul To: Dave Airlie Subject: [PULL] drm-misc-next for 4.20 Message-ID: <20180830152823.GA79641@art_vandelay> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dim-tools@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, Rodrigo Vivi , Sean Paul , dri-devel@lists.freedesktop.org, Daniel Vetter Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi Dave, Here's the first PR for 4.20 (Seth Rogan edition). It's super light compared to most PRs after feature freeze. Perhaps we were all enjoying summer a bit too much! Anyways, nothing controversial, tag description says it all. drm-misc-next-2018-08-30: drm-misc-next for 4.20: UAPI Changes: - Add per-plane blend mode property (Lowry) - Change in drm_fourcc.h is documentation only (Brian) Cross-subsystem Changes: - None Core Changes: - Add get/verify_crc_source for improved crc source selection (Mahesh) - Add __drm_atomic_helper_plane_reset to reduce copypasta (Alexandru) Driver Changes: - various: Replance ref/unref calls with drm_dev_get/put (Thomas) - bridge: Add driver for TI SN65DSI86 chip (Sandeep) - rockchip: Add PX30 support (Sandy) - sun4i: Add support for R40 TCON (Jernej) - vkms: Continued building out vkms, added gem support (Haneen) Cc: Thomas Zimmermann Cc: Sandeep Panda Cc: Sean Paul Cc: Sandy Huang Cc: Lowry Li Cc: Brian Starkey Cc: Jernej Skrabec Cc: Haneen Mohammed Cc: Alexandru Gheorghe Cheers, Sean The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2018-08-30 for you to fetch changes up to 09c4b49457434fa74749ad6194ef28464d9f5df9: drm/virtio: fix bounds check in virtio_gpu_cmd_get_capset() (2018-08-30 09:41:03 +0200) ---------------------------------------------------------------- drm-misc-next for 4.20: UAPI Changes: - Add per-plane blend mode property (Lowry) - Change in drm_fourcc.h is documentation only (Brian) Cross-subsystem Changes: - None Core Changes: - Add get/verify_crc_source for improved crc source selection (Mahesh) - Add __drm_atomic_helper_plane_reset to reduce copypasta (Alexandru) Driver Changes: - various: Replance ref/unref calls with drm_dev_get/put (Thomas) - bridge: Add driver for TI SN65DSI86 chip (Sandeep) - rockchip: Add PX30 support (Sandy) - sun4i: Add support for R40 TCON (Jernej) - vkms: Continued building out vkms, added gem support (Haneen) Cc: Thomas Zimmermann Cc: Sandeep Panda Cc: Sean Paul Cc: Sandy Huang Cc: Lowry Li Cc: Brian Starkey Cc: Jernej Skrabec Cc: Haneen Mohammed Cc: Alexandru Gheorghe ---------------------------------------------------------------- Alexandru Gheorghe (8): drm/atomic: Add __drm_atomic_helper_plane_reset drm: mali-dp: Use __drm_atomic_helper_plane_reset instead of copying the logic drm: atmel-hlcdc: Use __drm_atomic_helper_plane_reset instead of copying the logic drm/imx: Use __drm_atomic_helper_plane_reset instead of copying the logic drm/sun4i: Use __drm_atomic_helper_plane_reset instead of copying the logic drm: rcar-du: Use __drm_atomic_helper_plane_reset instead of copying the logic drm/vc4: Use __drm_atomic_helper_plane_reset instead of copying the logic drm/vmwgfx: Use __drm_atomic_helper_plane_reset instead of copying the logic Andrzej Hajda (3): dt-bindings: tc358754: add DT bindings drm/bridge: tc358764: Add DSI to LVDS bridge driver drm/bridge/tc358764: fix drm helper name Anton Vasilyev (2): drm: qxl: Fix error handling at qxl_device_init drm: qxl: Fix NULL pointer dereference at qxl_alloc_client_monitors_config Archit Taneja (2): dt-bindings: mipi-dsi: Add info about peripherals with non-DSI control bus dt-bindings: mipi-dsi: Add dual-channel DSI related info Ayan Kumar Halder (2): drm/sun4i: Use (struct drm_format_info) fields to determine if a format is yuv and multi planar or not. drm: Use horizontal and vertical chroma subsampling factor while calculating offsets in the physical address of framebuffer Brian Starkey (1): drm/fourcc: Add DOC: overview comment Chris Wilson (1): dma-buf: Remove requirement for ops->map() from dma_buf_export Dan Carpenter (1): drm/virtio: fix bounds check in virtio_gpu_cmd_get_capset() Daniel Vetter (5): drm/i915: Remove unecessary dma_fence_ops drm/msm: Remove unecessary dma_fence_ops drm/nouveau: Remove unecessary dma_fence_ops drm/vgem: Remove unecessary dma_fence_ops drm/syncobj: Drop add/remove_callback from driver interface Gerd Hoffmann (1): drm/cirrus: flip default from 24bpp to 16bpp Giulio Benetti (1): drm/sun4i: Handle DRM_BUS_FLAG_PIXDATA_*EDGE checking if panel is used. Guenter Roeck (1): drm/bridge: ti-sn65dsi86: Fix 0-day build error Gustavo A. R. Silva (2): drm/sun4i: tcon-top: Use struct_size() in devm_kzalloc() drm/rockchip: Use struct_size() in devm_kzalloc() Haneen Mohammed (8): drm/vkms: Add functions to map/unmap GEM backing storage drm/vkms: map/unmap buffers in [prepare/cleanup]_fb hooks drm/vkms: Add atomic_helper_check_plane_state drm/vkms: subclass CRTC state drm/vkms: Subclass plane state drm/vkms: Implement CRC debugfs API drm/vkms: Release pages_lock before return drm/vkms: Fix vmap_count increment position Jernej Skrabec (2): drm/sun4i: tcon: Add another way for matching mixers with tcon drm/sun4i: tcon: Add support for R40 TCON Jyri Sarha (1): drm: Add kerneldoc description for "link"-member in struct drm_panel Lowry Li (1): drm: Add per-plane pixel blend mode property Lyude Paul (1): drm/print: Fix DRM_DEBUG_DP macro Mahesh Kumar (11): drm: crc: Introduce verify_crc_source callback drm: crc: Introduce get_crc_sources callback drm/rockchip/crc: Implement verify_crc_source callback drm/amdgpu_dm/crc: Implement verify_crc_source callback drm/rcar-du/crc: Implement verify_crc_source callback drm/i915/crc: implement verify_crc_source callback drm/i915/crc: implement get_crc_sources callback drm/rcar-du/crc: Implement get_crc_sources callback drm/vkms/crc: Implement verify_crc_source callback drm/crc: Cleanup crtc_crc_open function Revert "drm: crc: Wait for a frame before returning from open()" Masahiro Yamada (1): drm/bridge/synopsys: remove commented-out flag in Makefile Matt Atwood (1): drm/dp: add extended receiver capability field present bit Oleksandr Andrushchenko (1): drm: Replace NULL with error value in drm_prime_pages_to_sg Paul Kocialkowski (2): drm/sun4i: sun4i: Register quirks with the backend structure drm/sun4i: sun4i: Introduce a quirk for lowest plane alpha support Paulo Zanoni (1): drm/dp: add missing ')' to I2C nack debug message Peter Rosin (7): drm/sti: do not remove the drm_bridge that was never added drm/atmel-hlcdc: prefer a higher rate clock as pixel-clock base drm/atmel-hlcdc: allow selecting a higher pixel-clock than requested dt-bindings: display: bridge: lvds-transmitter: add ti, ds90c185 dt-bindings: display: atmel: optional video-interface of endpoints drm/atmel-hlcdc: always iterate over the first 4 output endpoints drm/atmel-hlcdc: support bus-width (12/16/18/24) in endpoint nodes Sandeep Panda (2): dt-bindings: drm/bridge: Document sn65dsi86 bridge bindings drm/bridge: add support for sn65dsi86 bridge driver Sandy Huang (4): dt-bindings: display: rockchip: add document for px30 vop drm/rockchip: vop: add px30 vop support drm/rockchip: fix coding style and incorrect description drm/rockchip: vop: fix some register define error for px30 Sean Paul (9): drm/bridge/ti-sn65dsi86: Fix implicit declaration to drm_mode_connector_attach_encoder drm/bridge: ti-sn65dsi86: Fixup register names drm/bridge: ti-sn65dsi86: Implement AUX channel drm/bridge: ti-sn65dsi86: Move panel_prepare() to pre_enable() drm/bridge: ti-sn65dsi86: Poll for DP PLL Lock drm/bridge: ti-sn65dsi86: Poll for training complete drm/panel: Fix sphinx warning Merge drm/drm-next into drm-misc-next drm/bridge: ti-sn65dsi86: Add mystery delay to enable() Souptick Joarder (4): drm/vkms: Use new return type vm_fault_t drm/rockchip: Convert drm_atomic_helper_suspend/resume() drm: Remove drm_fbdev_cma_set_suspend() gpu: drm: virtio: code cleanup Stefan Agner (1): drm/doc: clarify how to acquire required vblank event reference Thomas Zimmermann (12): drm/rockchip: Replace drm_dev_unref with drm_dev_put drm/tinydrm: Replace drm_dev_unref with drm_dev_put drm/vgem: Replace drm_dev_unref with drm_dev_put drm/cirrus: Use drm_framebuffer_put to avoid kernel oops in clean-up drm/qxl: Replace drm_dev_unref with drm_dev_put drm/virtio: Replace drm_dev_unref with drm_dev_put drm/gma500: Do not include drm/bochs: Replace ttm_bo_unref with ttm_bo_put drm/cirrus: Replace ttm_bo_unref with ttm_bo_put drm/qxl: Replace ttm_bo_unref with ttm_bo_put drm/virtio: Replace ttm_bo_reference with ttm_bo_get drm/virtio: Replace ttm_bo_unref with ttm_bo_put .../devicetree/bindings/display/atmel/hlcdc-dc.txt | 23 + .../bindings/display/bridge/lvds-transmitter.txt | 8 +- .../bindings/display/bridge/ti,sn65dsi86.txt | 87 +++ .../bindings/display/bridge/toshiba,tc358764.txt | 35 + .../devicetree/bindings/display/mipi-dsi-bus.txt | 153 +++- .../bindings/display/rockchip/rockchip-vop.txt | 2 + Documentation/gpu/drm-kms.rst | 6 + drivers/dma-buf/dma-buf.c | 1 - drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 7 +- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c | 20 +- drivers/gpu/drm/arm/malidp_planes.c | 7 +- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 100 ++- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h | 1 + drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 92 ++- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 5 +- drivers/gpu/drm/bochs/bochs_mm.c | 2 +- drivers/gpu/drm/bridge/Kconfig | 18 + drivers/gpu/drm/bridge/Makefile | 2 + drivers/gpu/drm/bridge/synopsys/Makefile | 2 - drivers/gpu/drm/bridge/tc358764.c | 499 +++++++++++++ drivers/gpu/drm/bridge/ti-sn65dsi86.c | 779 +++++++++++++++++++++ drivers/gpu/drm/cirrus/cirrus_drv.c | 4 +- drivers/gpu/drm/cirrus/cirrus_drv.h | 2 +- drivers/gpu/drm/cirrus/cirrus_fbdev.c | 51 +- drivers/gpu/drm/cirrus/cirrus_main.c | 2 +- drivers/gpu/drm/cirrus/cirrus_mode.c | 4 +- drivers/gpu/drm/drm_atomic.c | 4 + drivers/gpu/drm/drm_atomic_helper.c | 34 +- drivers/gpu/drm/drm_blend.c | 123 ++++ drivers/gpu/drm/drm_debugfs_crc.c | 92 +-- drivers/gpu/drm/drm_dp_helper.c | 3 +- drivers/gpu/drm/drm_fb_cma_helper.c | 26 +- drivers/gpu/drm/drm_gem_cma_helper.c | 4 +- drivers/gpu/drm/drm_panel.c | 2 + drivers/gpu/drm/drm_syncobj.c | 15 - drivers/gpu/drm/drm_vblank.c | 4 +- drivers/gpu/drm/gma500/psb_drv.h | 1 - drivers/gpu/drm/i915/i915_gem_clflush.c | 7 - drivers/gpu/drm/i915/intel_display.c | 2 + drivers/gpu/drm/i915/intel_drv.h | 9 +- drivers/gpu/drm/i915/intel_pipe_crc.c | 119 +++- drivers/gpu/drm/i915/selftests/i915_sw_fence.c | 8 - drivers/gpu/drm/imx/ipuv3-plane.c | 9 +- drivers/gpu/drm/msm/msm_fence.c | 8 - drivers/gpu/drm/nouveau/nouveau_fence.c | 1 - drivers/gpu/drm/qxl/qxl_display.c | 16 +- drivers/gpu/drm/qxl/qxl_drv.c | 2 +- drivers/gpu/drm/qxl/qxl_gem.c | 2 +- drivers/gpu/drm/qxl/qxl_kms.c | 80 ++- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 149 +++- drivers/gpu/drm/rcar-du/rcar_du_crtc.h | 3 + drivers/gpu/drm/rcar-du/rcar_du_plane.c | 6 +- drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 5 +- drivers/gpu/drm/rockchip/Kconfig | 14 +- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 50 +- drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 1 - drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 32 +- drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 124 ++++ drivers/gpu/drm/rockchip/rockchip_vop_reg.h | 74 ++ drivers/gpu/drm/sti/sti_hda.c | 1 - drivers/gpu/drm/sti/sti_hdmi.c | 1 - drivers/gpu/drm/sun4i/sun4i_backend.c | 81 +-- drivers/gpu/drm/sun4i/sun4i_backend.h | 3 +- drivers/gpu/drm/sun4i/sun4i_layer.c | 4 +- drivers/gpu/drm/sun4i/sun4i_tcon.c | 119 +++- drivers/gpu/drm/sun4i/sun8i_tcon_top.c | 3 +- drivers/gpu/drm/tinydrm/core/tinydrm-core.c | 6 +- drivers/gpu/drm/vc4/vc4_plane.c | 4 +- drivers/gpu/drm/vgem/vgem_drv.c | 2 +- drivers/gpu/drm/vgem/vgem_fence.c | 13 - drivers/gpu/drm/virtio/virtgpu_drm_bus.c | 2 +- drivers/gpu/drm/virtio/virtgpu_drv.h | 7 +- drivers/gpu/drm/virtio/virtgpu_ttm.c | 36 +- drivers/gpu/drm/virtio/virtgpu_vq.c | 5 +- drivers/gpu/drm/vkms/Makefile | 2 +- drivers/gpu/drm/vkms/vkms_crc.c | 121 ++++ drivers/gpu/drm/vkms/vkms_crtc.c | 102 ++- drivers/gpu/drm/vkms/vkms_drv.c | 1 + drivers/gpu/drm/vkms/vkms_drv.h | 55 +- drivers/gpu/drm/vkms/vkms_gem.c | 83 ++- drivers/gpu/drm/vkms/vkms_plane.c | 140 +++- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 4 +- drivers/gpu/drm/xen/xen_drm_front_gem.c | 2 +- include/drm/drm_atomic_helper.h | 2 + include/drm/drm_blend.h | 6 + include/drm/drm_crtc.h | 41 +- include/drm/drm_dp_helper.h | 5 +- include/drm/drm_fb_cma_helper.h | 1 - include/drm/drm_panel.h | 1 + include/drm/drm_plane.h | 9 + include/drm/drm_print.h | 2 +- include/drm/drm_syncobj.h | 5 - include/uapi/drm/drm_fourcc.h | 36 + 94 files changed, 3381 insertions(+), 466 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.txt create mode 100644 Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.txt create mode 100644 drivers/gpu/drm/bridge/tc358764.c create mode 100644 drivers/gpu/drm/bridge/ti-sn65dsi86.c create mode 100644 drivers/gpu/drm/vkms/vkms_crc.c