From patchwork Thu Sep 13 13:02:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10599499 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 05BD514BD for ; Thu, 13 Sep 2018 13:03:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E397E2969E for ; Thu, 13 Sep 2018 13:03:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7A0729F88; Thu, 13 Sep 2018 13:03:00 +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 F1E6E29841 for ; Thu, 13 Sep 2018 13:02:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E8E896E66F; Thu, 13 Sep 2018 13:02:56 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw1-xc43.google.com (mail-yw1-xc43.google.com [IPv6:2607:f8b0:4864:20::c43]) by gabe.freedesktop.org (Postfix) with ESMTPS id EF60A6E66F for ; Thu, 13 Sep 2018 13:02:55 +0000 (UTC) Received: by mail-yw1-xc43.google.com with SMTP id q129-v6so1102100ywg.8 for ; Thu, 13 Sep 2018 06:02:55 -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:content-transfer-encoding:user-agent; bh=t62dfkwih0LhlwK4DLN0+h0igs4x2QhKRAFXmvbLjcw=; b=LFy9fW/EPQ/7jOGQh2UoTfxwRCGfYVi6meqkxKE4X8CkqA+QWeBwpedoKRzopmKPY5 XAYutGUSCe3vQaNbcdf/ZAwl6uZVg733t0Exq5PyYy8ELg8Ua9fqONTtlrIWp6SEzXXw zEyD/zlDmFqdxrN0QejYCupKzHH1fVO17JLYdslxOQvGgKMVeFRCJ+B6W84jwROfiRpm Q9jLPW78MoZ1JK2e5quWWYM3pGK+6niS5LzVNSE+y2UZLLAoeH3OGvkBs84aII7EGjbq +kaNUtl5aHJzpfBpLVHyitZ9nsgit872tco6wWaVsjzuRZyB5zAjSc9p91E91JCfVQr+ adzA== X-Gm-Message-State: APzg51BOAi1VDyQfV6cq7ocf/i+BoQb6dafKfBtFnNcWyV0yLez8B1Kg eszUXCQzSbJl3ekEg0BjR/6nRw== X-Google-Smtp-Source: ANB0VdaCzg7PynA7LyTC36T0pre5Hc24ldofi+LbYldGeCc/u4EOWvCN+M1usn5y43As57Qyp1iPpg== X-Received: by 2002:a81:6846:: with SMTP id d67-v6mr3206914ywc.189.1536843775149; Thu, 13 Sep 2018 06:02:55 -0700 (PDT) Received: from localhost ([2620:0:1013:11:ad55:b1db:adfe:3b9f]) by smtp.gmail.com with ESMTPSA id n34-v6sm1461871ywh.42.2018.09.13.06.02.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Sep 2018 06:02:54 -0700 (PDT) Date: Thu, 13 Sep 2018 09:02:54 -0400 From: Sean Paul To: Dave Airlie Subject: [PULL] drm-misc-next Message-ID: <20180913130254.GA156437@art_vandelay> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) 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, Haneen Mohammed , intel-gfx@lists.freedesktop.org, Rodrigo Vivi , Sean Paul , dri-devel@lists.freedesktop.org, Daniel Vetter , Peter Wu , Gerd Hoffmann Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi Dave, Coming to you from stormy North Carolina! It looks like Florence will wrap right around us, so hopefully no drm-misc service interruptions will occur in the next week :-) Quite a lot of activity this week, both in volume and UAPI. Two of the line items in UAPI section are functionality changes rather than new ioctls/declarations. So we'll keep a close eye out for regression reports. That's it, that's all. Please pull. drm-misc-next-2018-09-13: drm-misc-next for 4.20: UAPI Changes: - Add host endian variants for the most common formats (Gerd) - Fail ADDFB2 for big-endian drivers that don't advertise BE quirk (Gerd) - clear smem_start in fbdev for drm drivers to avoid leaking fb addr (Daniel) Cross-subsystem Changes: Core Changes: - fix drm_mode_addfb() on big endian machines (Gerd) - add timeline point to syncobj find+replace (Chunming) - more drmP.h removal effort (Daniel) - split uapi portions of drm_atomic.c into drm_atomic_uapi.c (Daniel) Driver Changes: - bochs: Convert open-coded portions to use helpers (Peter) - vkms: Add cursor support (Haneen) - udmabuf: Lots of fixups (mostly cosmetic afaict) (Gerd) - qxl: Convert to use fbdev helper (Peter) Cc: Gerd Hoffmann Cc: Chunming Zhou Cc: Daniel Vetter Cc: Peter Wu Cc: Haneen Mohammed Cheers, Sean The following changes since commit 3ee22b769fd761c98eeaceab49153c3eb7612821: drm/rockchip: rgb: add stub functions when rgb encoder is disabled (2018-09-05 15:43:14 -0400) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2018-09-13 for you to fetch changes up to 169cc4c7a14e988985c8833ddec2f3e897de2c28: drm: bridge: document bridge attach/detach imbalance (2018-09-13 11:28:12 +0200) ---------------------------------------------------------------- drm-misc-next for 4.20: UAPI Changes: - Add host endian variants for the most common formats (Gerd) - Fail ADDFB2 for big-endian drivers that don't advertise BE quirk (Gerd) - clear smem_start in fbdev for drm drivers to avoid leaking fb addr (Daniel) Cross-subsystem Changes: Core Changes: - fix drm_mode_addfb() on big endian machines (Gerd) - add timeline point to syncobj find+replace (Chunming) - more drmP.h removal effort (Daniel) - split uapi portions of drm_atomic.c into drm_atomic_uapi.c (Daniel) Driver Changes: - bochs: Convert open-coded portions to use helpers (Peter) - vkms: Add cursor support (Haneen) - udmabuf: Lots of fixups (mostly cosmetic afaict) (Gerd) - qxl: Convert to use fbdev helper (Peter) Cc: Gerd Hoffmann Cc: Chunming Zhou Cc: Daniel Vetter Cc: Peter Wu Cc: Haneen Mohammed ---------------------------------------------------------------- Alexandru Gheorghe (1): drm: Clarify DRM_MODE_REFLECT_X/Y documentation Chen-Yu Tsai (2): drm/sun4i: tcon: Pass drm_encoder * into sun4i_tcon0_mode_set_cpu drm/sun4i: tcon: Rename Dithering related register macros Chris Wilson (1): drm: Reject unknown legacy bpp and depth for drm_mode_addfb ioctl Chunming Zhou (4): drm: fix syncobj null_fence_enable_signaling drm: rename null fence to stub fence in syncobj v2 drm: expand drm_syncobj_find_fence to support timeline point v2 drm: expand replace_fence to support timeline point v2 Daniel Vetter (11): drm: Add drm/drm_util.h header file drm: Drop drmP.h from drm_connector.c drm: drop drmP.h include from drm_plane.c drm: drop drmP.h include from drm_crtc.c drm/atomic: trim driver interface/docs drm: Update todo.rst drm: extract drm_atomic_uapi.c fbdev: Drop FBINFO_CAN_FORCE_OUTPUT flag vt: Remove vc_panic_force_write fbdev: Add FBINFO_HIDE_SMEM_START flag drm/fb: Stop leaking physical address Gerd Hoffmann (17): drm: replace DRIVER_PREFER_XBGR_30BPP driver flag with mode_config quirk drm: byteorder: add DRM_FORMAT_HOST_* drm: do not mask out DRM_FORMAT_BIG_ENDIAN drm: fix drm_mode_addfb() on big endian machines. drm: refuse ADDFB2 ioctl for broken bigendian drivers udmabuf: sort headers, drop uapi/ path prefix udmabuf: improve map_udmabuf error handling udmabuf: use pgoff_t for pagecount udmabuf: constify udmabuf_ops udmabuf: constify udmabuf_create args udmabuf: add MEMFD_CREATE dependency udmabuf: rework limits udmabuf: improve udmabuf_create error handling udmabuf: use EBADFD in case we didn't got a memfd udmabuf: use ENOTTY for invalid ioctls udmabuf: drop WARN_ON() check. udmabuf: use sizeof(variable) instead of sizeof(type) Haneen Mohammed (4): drm/vkms: Add cursor plane support drm/vkms: Compute CRC with Cursor Plane drm/vkms: Enable/Disable cursor support with module option drm/vkms: Add kerneldoc entry Jonathan Liu (1): drm/sun4i: tcon: Add dithering support for RGB565/RGB666 LCD panels Marc Zyngier (2): drm/rockchip: Allow driver to be shutdown on reboot/kexec drm/bridge: analogix_dp: Downgrade "Link Training" messages to dev_dbg Maxime Ripard (1): drm/sun4i: fix build failure with CONFIG_DRM_SUN8I_MIXER=m Michał Mirosław (2): fbdev: fix kerneldoc drm/fb-helper: document remove*_conflicting_framebuffers() Peter Rosin (1): drm: bridge: document bridge attach/detach imbalance Peter Wu (5): bochs: use drm_fb_helper_set_suspend_unlocked in suspend/resume bochs: convert to drm_fb_helper_fbdev_setup/teardown bochs: convert to drm_dev_register drm/fb-helper: improve documentation and print warnings qxl: refactor to use drm_fb_helper_fbdev_setup YueHaibing (2): drm/virtio: Remove set but not used variable 'bo' drm: Remove set but not used variable 'config' Documentation/gpu/drivers.rst | 1 + Documentation/gpu/drm-kms.rst | 12 +- Documentation/gpu/todo.rst | 71 +- Documentation/gpu/vkms.rst | 24 + drivers/dma-buf/Kconfig | 1 + drivers/dma-buf/udmabuf.c | 93 +- drivers/gpu/drm/Makefile | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 4 +- drivers/gpu/drm/armada/armada_overlay.c | 1 + drivers/gpu/drm/bochs/bochs.h | 21 +- drivers/gpu/drm/bochs/bochs_drv.c | 46 +- drivers/gpu/drm/bochs/bochs_fbdev.c | 79 +- drivers/gpu/drm/bochs/bochs_hw.c | 2 +- drivers/gpu/drm/bochs/bochs_kms.c | 7 +- drivers/gpu/drm/bochs/bochs_mm.c | 74 - drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 4 +- drivers/gpu/drm/drm_atomic.c | 1510 +------------------- drivers/gpu/drm/drm_atomic_helper.c | 1 + drivers/gpu/drm/drm_atomic_uapi.c | 1393 ++++++++++++++++++ drivers/gpu/drm/drm_blend.c | 22 + drivers/gpu/drm/drm_bridge.c | 4 + drivers/gpu/drm/drm_connector.c | 6 +- drivers/gpu/drm/drm_crtc.c | 5 +- drivers/gpu/drm/drm_crtc_helper.c | 1 + drivers/gpu/drm/drm_crtc_internal.h | 19 +- drivers/gpu/drm/drm_fb_helper.c | 26 +- drivers/gpu/drm/drm_fourcc.c | 37 +- drivers/gpu/drm/drm_framebuffer.c | 49 +- drivers/gpu/drm/drm_gem_framebuffer_helper.c | 1 + drivers/gpu/drm/drm_internal.h | 5 + drivers/gpu/drm/drm_ioctl.c | 2 +- drivers/gpu/drm/drm_plane.c | 13 +- drivers/gpu/drm/drm_plane_helper.c | 1 + drivers/gpu/drm/drm_syncobj.c | 73 +- drivers/gpu/drm/i915/i915_drv.h | 1 + drivers/gpu/drm/i915/i915_gem_execbuffer.c | 2 +- drivers/gpu/drm/i915/intel_display.c | 1 + drivers/gpu/drm/i915/intel_display.h | 2 + drivers/gpu/drm/i915/intel_ringbuffer.h | 2 + drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 2 + drivers/gpu/drm/msm/msm_atomic.c | 2 + drivers/gpu/drm/nouveau/dispnv50/disp.c | 2 +- drivers/gpu/drm/nouveau/nouveau_connector.h | 2 + drivers/gpu/drm/nouveau/nouveau_fbcon.c | 1 - drivers/gpu/drm/qxl/qxl_display.c | 101 +- drivers/gpu/drm/qxl/qxl_draw.c | 6 +- drivers/gpu/drm/qxl/qxl_drv.h | 32 +- drivers/gpu/drm/qxl/qxl_fb.c | 197 +-- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 6 + drivers/gpu/drm/sun4i/sun4i_tcon.c | 90 +- drivers/gpu/drm/sun4i/sun4i_tcon.h | 27 +- drivers/gpu/drm/v3d/v3d_gem.c | 6 +- drivers/gpu/drm/vc4/vc4_crtc.c | 1 + drivers/gpu/drm/vc4/vc4_gem.c | 4 +- drivers/gpu/drm/vc4/vc4_plane.c | 1 + drivers/gpu/drm/virtio/virtgpu_display.c | 3 - drivers/gpu/drm/vkms/vkms_crc.c | 154 +- drivers/gpu/drm/vkms/vkms_drv.c | 13 + drivers/gpu/drm/vkms/vkms_drv.h | 18 +- drivers/gpu/drm/vkms/vkms_output.c | 19 +- drivers/gpu/drm/vkms/vkms_plane.c | 43 +- drivers/staging/vboxvideo/vbox_fb.c | 3 +- drivers/tty/vt/vt.c | 12 +- drivers/video/fbdev/core/fbcon.c | 4 +- drivers/video/fbdev/core/fbmem.c | 8 +- include/drm/drmP.h | 3 - include/drm/drm_atomic.h | 23 +- include/drm/drm_atomic_helper.h | 1 + include/drm/drm_atomic_uapi.h | 58 + include/drm/drm_color_mgmt.h | 1 + include/drm/drm_connector.h | 1 + include/drm/drm_drv.h | 1 - include/drm/drm_encoder.h | 1 + include/drm/drm_fb_helper.h | 22 + include/drm/drm_fourcc.h | 22 + include/drm/drm_mode_config.h | 15 + include/drm/drm_plane.h | 3 + include/drm/drm_property.h | 2 + include/drm/drm_syncobj.h | 4 +- include/drm/drm_util.h | 32 + include/linux/console_struct.h | 1 - include/linux/fb.h | 9 +- include/linux/vt_kern.h | 7 - include/uapi/drm/drm_fourcc.h | 3 + include/uapi/drm/drm_mode.h | 3 +- 85 files changed, 2327 insertions(+), 2261 deletions(-) create mode 100644 Documentation/gpu/vkms.rst create mode 100644 drivers/gpu/drm/drm_atomic_uapi.c create mode 100644 include/drm/drm_atomic_uapi.h create mode 100644 include/drm/drm_util.h