1. 13 12月, 2018 1 次提交
  2. 30 10月, 2018 1 次提交
  3. 05 9月, 2018 1 次提交
  4. 29 8月, 2018 1 次提交
  5. 23 8月, 2018 1 次提交
  6. 13 8月, 2018 1 次提交
  7. 18 7月, 2018 1 次提交
  8. 27 6月, 2018 1 次提交
  9. 18 6月, 2018 2 次提交
  10. 18 5月, 2018 1 次提交
  11. 02 5月, 2018 1 次提交
  12. 24 4月, 2018 2 次提交
  13. 17 4月, 2018 1 次提交
    • J
      drm/rockchip: fix VOP vblank race · 2d078c2d
      John Keeping 提交于
      We have seen a case of a bad reference count for vblanks with the
      Rockchip VOP:
      
      	------------[ cut here ]------------
      	WARNING: CPU: 1 PID: 383 at drivers/gpu/drm/drm_irq.c:1198 drm_vblank_put+0x40/0xcc
      	Modules linked in: brcmfmac brcmutil
      	CPU: 1 PID: 383 Comm: kworker/u8:2 Not tainted 4.9.75-rt60 #1
      	Hardware name: Rockchip (Device Tree)
      	Workqueue: events_unbound flip_worker
      	Backtrace:
      	[<c010b7b0>] (dump_backtrace) from [<c010ba4c>] (show_stack+0x18/0x1c)
      	 r7:c0b1b13c r6:600b0013 r5:00000000 r4:c0b1b13c
      	[<c010ba34>] (show_stack) from [<c032d248>] (dump_stack+0x78/0x94)
      	[<c032d1d0>] (dump_stack) from [<c011e6e8>] (__warn+0xe4/0x104)
      	 r7:00000009 r6:c03cf26c r5:00000000 r4:00000000
      	[<c011e604>] (__warn) from [<c011e7c0>] (warn_slowpath_null+0x28/0x30)
      	 r9:eeb443a0 r8:eeb443c8 r7:ee8a5ec0 r6:ee8a5ec0 r5:edb47f00 r4:ee096200
      	[<c011e798>] (warn_slowpath_null) from [<c03cf26c>] (drm_vblank_put+0x40/0xcc)
      	[<c03cf22c>] (drm_vblank_put) from [<c03cf310>] (drm_crtc_vblank_put+0x18/0x1c)
      	 r5:edb47f00 r4:ee3c8a80
      	[<c03cf2f8>] (drm_crtc_vblank_put) from [<c03ef9b4>] (vop_fb_unref_worker+0x18/0x24)
      	[<c03ef99c>] (vop_fb_unref_worker) from [<c03df194>] (flip_worker+0x98/0xb4)
      	 r5:edb47f00 r4:eeb443a8
      	[<c03df0fc>] (flip_worker) from [<c0134808>] (process_one_work+0x1a8/0x2fc)
      	 r9:00000000 r8:ee807d00 r7:00000000 r6:ee809c00 r5:eeb443a8 r4:edfe5f80
      	[<c0134660>] (process_one_work) from [<c01358ec>] (worker_thread+0x2ac/0x458)
      	 r10:00000088 r9:edfe5f98 r8:ee809c2c r7:c0b04100 r6:ee809c00 r5:ee809c00
      	 r4:edfe5f80
      	[<c0135640>] (worker_thread) from [<c013a0bc>] (kthread+0xfc/0x10c)
      	 r10:00000000 r9:00000000 r8:c0135640 r7:edfe5f80 r6:00000000 r5:edf0e240
      	 r4:ee8a4000 r3:ed194e00
      	[<c0139fc0>] (kthread) from [<c0107cb8>] (ret_from_fork+0x14/0x3c)
      	 r8:00000000 r7:00000000 r6:00000000 r5:c0139fc0 r4:edf0e240
      	---[ end trace 0000000000000002 ]---
      
      It seems that this is caused by unfortunate timing between
      vop_crtc_atomic_flush() and vop_handle_vblank() given the following
      ordering:
      
      	atomic_flush		handle_vblank
      	------------		-------------
      
      	drm_flip_work_queue
      	set_bit
      	     			if (test_and_clear_bit(...))
      	     				drm_flip_work_commit
      	drm_vblank_get
      
      This results in vop_fb_unref_worker (called as flip work) decrementing
      the vblank refcount before it has been incremented.
      Signed-off-by: NJohn Keeping <john@metanate.com>
      Reviewed-by: NSandy huang <hjc@rock-chips.com>
      Signed-off-by: NSandy Huang <hjc@rock-chips.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180328160351.23763-1-john@metanate.com
      2d078c2d
  14. 14 3月, 2018 4 次提交
  15. 09 3月, 2018 1 次提交
  16. 06 3月, 2018 1 次提交
    • V
      drm: Don't pass clip to drm_atomic_helper_check_plane_state() · 81af63a4
      Ville Syrjälä 提交于
      Move the plane clip rectangle handling into
      drm_atomic_helper_check_plane_state(). Drivers no longer
      have to worry about such mundane details.
      
      v2: Convert armada, rcar, and sun4i as well
      v3: Resolve simple_kms_helper conflict
      
      Cc: Liviu Dudau <liviu.dudau@arm.com>
      Cc: Brian Starkey <brian.starkey@arm.com>
      Cc: Mali DP Maintainers <malidp@foss.arm.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Gustavo Padovan <gustavo@padovan.org>
      Cc: Sean Paul <seanpaul@chromium.org>
      Cc: Philipp Zabel <p.zabel@pengutronix.de>
      Cc: CK Hu <ck.hu@mediatek.com>
      Cc: Neil Armstrong <narmstrong@baylibre.com>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Ben Skeggs <bskeggs@redhat.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Sandy Huang <hjc@rock-chips.com>
      Cc: "Heiko Stübner" <heiko@sntech.de>
      Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: VMware Graphics <linux-graphics-maintainer@vmware.com>
      Cc: Sinclair Yeh <syeh@vmware.com>
      Cc: Thomas Hellstrom <thellstrom@vmware.com>
      Cc: Shawn Guo <shawnguo@kernel.org>
      Cc: Archit Taneja <architt@codeaurora.org>
      Cc: linux-amlogic@lists.infradead.org
      Cc: linux-arm-msm@vger.kernel.org
      Cc: freedreno@lists.freedesktop.org
      Cc: nouveau@lists.freedesktop.org
      Cc: linux-renesas-soc@vger.kernel.org
      Cc: linux-tegra@vger.kernel.org
      Cc: Russell King <rmk+kernel@armlinux.org.uk>
      Suggested-by: NDaniel Vetter <daniel@ffwll.ch>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Reviewed-by: NThierry Reding <treding@nvidia.com>
      Reviewed-by: Archit Taneja <architt@codeaurora.org> #msm
      Link: https://patchwork.freedesktop.org/patch/msgid/20180123170857.13818-5-ville.syrjala@linux.intel.com
      Acked-by: Liviu Dudau <liviu.dudau@arm.com> #hdlcd,malidp
      Acked-by: Philipp Zabel <p.zabel@pengutronix.de> #imx,mtk
      Reviewed-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Reviewed-by: Sinclair Yeh <syeh@vmware.com> #vmwgfx
      Acked-by: Neil Armstrong <narmstrong@baylibre.com> #meson
      Acked-by: Shawn Guo <shawnguo@kernel.org> #zte
      81af63a4
  17. 01 3月, 2018 1 次提交
  18. 18 2月, 2018 1 次提交
  19. 29 1月, 2018 1 次提交
  20. 23 1月, 2018 1 次提交
  21. 21 11月, 2017 2 次提交
  22. 18 9月, 2017 1 次提交
  23. 11 8月, 2017 1 次提交
  24. 04 8月, 2017 7 次提交
  25. 02 8月, 2017 1 次提交
    • B
      drm: Plumb modifiers through plane init · e6fc3b68
      Ben Widawsky 提交于
      This is the plumbing for supporting fb modifiers on planes. Modifiers
      have already been introduced to some extent, but this series will extend
      this to allow querying modifiers per plane. Based on this, the client to
      enable optimal modifications for framebuffers.
      
      This patch simply allows the DRM drivers to initialize their list of
      supported modifiers upon initializing the plane.
      
      v2: A minor addition from Daniel
      
      v3:
      * Updated commit message
      * s/INVALID/DRM_FORMAT_MOD_INVALID (Liviu)
      * Remove some excess newlines (Liviu)
      * Update comment for > 64 modifiers (Liviu)
      
      v4: Minor comment adjustments (Liviu)
      
      v5: Some new platforms added due to rebase
      
      v6: Add some missed plane inits (or maybe they're new - who knows at
      this point) (Daniel)
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Reviewed-by: Daniel Stone <daniels@collabora.com> (v2)
      Reviewed-by: NLiviu Dudau <Liviu.Dudau@arm.com>
      Signed-off-by: NDaniel Stone <daniels@collabora.com>
      e6fc3b68
  26. 31 7月, 2017 3 次提交