From patchwork Wed Nov 28 09:36:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maarten Lankhorst X-Patchwork-Id: 10702151 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 C11E213AD for ; Wed, 28 Nov 2018 09:36:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE4742C77C for ; Wed, 28 Nov 2018 09:36:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9DD142CDE3; Wed, 28 Nov 2018 09:36:26 +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=ham 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 134132C77C for ; Wed, 28 Nov 2018 09:36:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 377376E316; Wed, 28 Nov 2018 09:36:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 74AF36E2B3; Wed, 28 Nov 2018 09:36:21 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Nov 2018 01:36:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,290,1539673200"; d="scan'208";a="278115032" Received: from treckx-mobl.ger.corp.intel.com (HELO [10.252.57.146]) ([10.252.57.146]) by orsmga005.jf.intel.com with ESMTP; 28 Nov 2018 01:36:17 -0800 From: Maarten Lankhorst To: Dave Airlie Subject: [PULL] drm-misc-next Message-ID: <151a3270-b1be-ed75-bd58-6b29d741f592@linux.intel.com> Date: Wed, 28 Nov 2018 10:36:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 Content-Language: en-US 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, Maxime Ripard , Daniel Vetter , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Rodrigo Vivi , Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi Dave, Here's the next pull request for v4.21. :) drm-misc-next-2018-11-28: drm-misc-next for v4.21: Core Changes: - Merge drm_info.c into drm_debugfs.c - Complete the fake drm_crtc_commit's hw_done/flip_done sooner. - Remove deprecated drm_obj_ref/unref functions. All drivers use get/put now. - Decrease stack use of drm_gem_prime_mmap. - Improve documentation for dumb callbacks. Driver Changes: - Add edid support to virtio. - Wait on implicit fence in meson and sun4i. - Add support for BGRX8888 to sun4i. - Preparation patches for sun4i driver to start supporting linear and tiled YUV formats. - Add support for HDMI 1.4 4k modes to meson, and support for VIC alternate timings. - Drop custom dumb_map in vkms. - Small fixes and cleanups to v3d. The following changes since commit 0081cdfe63f0b5e72b14d13f45a93ca7b0b8092f: qxl: Make sure qxl_cursor memory is pinned (2018-11-21 09:12:46 +0100) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2018-11-28 for you to fetch changes up to 08f73d668048ffa3ba6b1426b6ba0a89b16aefd7: drm/vkms: Drop custom vkms_dumb_map(). (2018-11-27 12:23:32 -0800) ---------------------------------------------------------------- drm-misc-next for v4.21: Core Changes: - Merge drm_info.c into drm_debugfs.c - Complete the fake drm_crtc_commit's hw_done/flip_done sooner. - Remove deprecated drm_obj_ref/unref functions. All drivers use get/put now. - Decrease stack use of drm_gem_prime_mmap. - Improve documentation for dumb callbacks. Driver Changes: - Add edid support to virtio. - Wait on implicit fence in meson and sun4i. - Add support for BGRX8888 to sun4i. - Preparation patches for sun4i driver to start supporting linear and tiled YUV formats. - Add support for HDMI 1.4 4k modes to meson, and support for VIC alternate timings. - Drop custom dumb_map in vkms. - Small fixes and cleanups to v3d. ---------------------------------------------------------------- Daniel Vetter (2): drm: Merge drm_info.c into drm_debugfs.c drm: Improve dumb callback docs Eric Anholt (4): drm/v3d: Fix whitespace inconsistency in the header. drm/v3d: Update a comment about what uses v3d_job_dependency(). drm/v3d: Clean up the reservation object setup. drm/vkms: Drop custom vkms_dumb_map(). Fernando Ramos (8): drm: remove deprecated "[__]drm_gem_object_[un]reference[_locked]" functions drm: replace "drm_dev_unref" function with "drm_dev_put" drm: remove deprecated "drm_dev_unref" function drm: replace "drm_connector_unreference" with "drm_connector_put" drm: remove deprecated "drm_connector_[un]reference" functions drm: remove deprecated "drm_framebuffer_[un]reference" functions drm: remove no longer needed drm-get-put coccinelle script docs: drm: remove no longer relevant TODO entry Gerd Hoffmann (2): virtio-gpu: add VIRTIO_GPU_F_EDID feature drm/virtio: add edid support Koen Kooi (1): drm/meson: Add implicit fencing support for primary and overlay planes Neil Armstrong (2): drm/meson: Add HDMI 1.4 4k modes drm/meson: Add support for VIC alternate timings Noralf Trønnes (1): drm/prime: Fix drm_gem_prime_mmap() stack use Paul Kocialkowski (19): drm/sun4i: Cleanup video/YUV source before enabling a layer drm/sun4i: frontend: Replace ARGB with XRGB as supported format drm/sun4i: Add TODO comment about supporting scaling with the backend drm/sun4i: backend: Add a helper and a list for supported formats drm/sun4i: frontend: Add a helper and a list for supported formats drm/sun4i: backend: Refine the logic behind using the frontend drm/sun4i: backend: Use a specific function to check if a plane is supported drm/sun4i: backend: Avoid counting YUV planes that use the frontend drm/sun4i: Rename sun4i_backend_layer_formats to sun4i_layer_formats drm/sun4i: frontend: Move CSC bypass setup to format update routine drm/sun4i: frontend: Add helpers for input data mode and pixel sequence drm/sun4i: frontend: Add proper definitions for format registers drm/sun4i: frontend: Determine input mode based on the number of planes drm/sun4i: frontend: Add support for the BGRX8888 input format drm/sun4i: backend: Detail the YUV to RGB values coding explanation drm/sun4i: frontend: Apply format sub-sampling to CH1 dimensions drm/sun4i: Make pitch even for GEM dumb alloc as per hardware constraint drm/sun4i: frontend: Add support for the BGRX8888 output format drm/sun4i: Pass modifier to backend and frontend format support helpers Qiang Yu (1): drm/sun4i: wait on implicit fence before display Ville Syrjälä (2): drm/atomic-helper: Complete fake_commit->flip_done potentially earlier drm/atomic-helper: WARN if fake_commit->hw_done is not completed as expected Documentation/gpu/todo.rst | 20 ++--- drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/arc/arcpgu_drv.c | 4 +- drivers/gpu/drm/bridge/tc358764.c | 2 +- drivers/gpu/drm/drm_atomic_helper.c | 7 +- drivers/gpu/drm/drm_debugfs.c | 89 ++++++++++++++++++++ drivers/gpu/drm/drm_drv.c | 13 --- drivers/gpu/drm/drm_info.c | 137 ------------------------------- drivers/gpu/drm/drm_internal.h | 5 -- drivers/gpu/drm/drm_prime.c | 31 ++++--- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 4 +- drivers/gpu/drm/meson/meson_dw_hdmi.c | 12 +-- drivers/gpu/drm/meson/meson_overlay.c | 2 + drivers/gpu/drm/meson/meson_plane.c | 2 + drivers/gpu/drm/meson/meson_vclk.c | 127 +++++++++++++++++++--------- drivers/gpu/drm/meson/meson_vclk.h | 2 + drivers/gpu/drm/meson/meson_venc.c | 129 +++++++++++++++++++++++++++++ drivers/gpu/drm/mxsfb/mxsfb_drv.c | 4 +- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 2 +- drivers/gpu/drm/shmobile/shmob_drm_drv.c | 4 +- drivers/gpu/drm/sun4i/sun4i_backend.c | 106 +++++++++++++++++++++--- drivers/gpu/drm/sun4i/sun4i_backend.h | 3 + drivers/gpu/drm/sun4i/sun4i_drv.c | 12 ++- drivers/gpu/drm/sun4i/sun4i_frontend.c | 113 +++++++++++++++++++------ drivers/gpu/drm/sun4i/sun4i_frontend.h | 11 ++- drivers/gpu/drm/sun4i/sun4i_layer.c | 15 ++-- drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 2 + drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 2 + drivers/gpu/drm/tve200/tve200_drv.c | 4 +- drivers/gpu/drm/v3d/v3d_gem.c | 33 +++----- drivers/gpu/drm/v3d/v3d_sched.c | 2 +- drivers/gpu/drm/virtio/virtgpu_display.c | 12 +++ drivers/gpu/drm/virtio/virtgpu_drv.c | 1 + drivers/gpu/drm/virtio/virtgpu_drv.h | 3 + drivers/gpu/drm/virtio/virtgpu_kms.c | 8 ++ drivers/gpu/drm/virtio/virtgpu_vq.c | 67 +++++++++++++++ drivers/gpu/drm/vkms/vkms_drv.c | 1 - drivers/gpu/drm/vkms/vkms_drv.h | 3 - drivers/gpu/drm/vkms/vkms_gem.c | 26 ------ drivers/staging/vboxvideo/vbox_drv.c | 1 - include/drm/drm_connector.h | 24 ------ include/drm/drm_drv.h | 10 ++- include/drm/drm_framebuffer.h | 24 ------ include/drm/drm_gem.h | 50 ----------- include/uapi/drm/v3d_drm.h | 4 +- include/uapi/linux/virtio_gpu.h | 18 ++++ scripts/coccinelle/api/drm-get-put.cocci | 78 ------------------ 47 files changed, 706 insertions(+), 525 deletions(-) delete mode 100644 drivers/gpu/drm/drm_info.c delete mode 100644 scripts/coccinelle/api/drm-get-put.cocci