1. 20 9月, 2018 2 次提交
  2. 14 7月, 2018 1 次提交
  3. 07 7月, 2018 1 次提交
  4. 04 7月, 2018 9 次提交
  5. 02 7月, 2018 1 次提交
  6. 30 6月, 2018 1 次提交
  7. 12 6月, 2018 3 次提交
  8. 26 4月, 2018 2 次提交
  9. 30 3月, 2018 1 次提交
  10. 22 3月, 2018 6 次提交
  11. 21 3月, 2018 2 次提交
    • T
      drm/vmwgfx: Fix a destoy-while-held mutex problem. · 73a88250
      Thomas Hellstrom 提交于
      When validating legacy surfaces, the backup bo might be destroyed at
      surface validate time. However, the kms resource validation code may have
      the bo reserved, so we will destroy a locked mutex. While there shouldn't
      be any other users of that mutex when it is destroyed, it causes a lock
      leak and thus throws a lockdep error.
      
      Fix this by having the kms resource validation code hold a reference to
      the bo while we have it reserved. We do this by introducing a validation
      context which might come in handy when the kms code is extended to validate
      multiple resources or buffers.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NBrian Paul <brianp@vmware.com>
      Reviewed-by: NSinclair Yeh <syeh@vmware.com>
      73a88250
    • T
      drm/vmwgfx: Fix black screen and device errors when running without fbdev · 140bcaa2
      Thomas Hellstrom 提交于
      When we are running without fbdev, transitioning from the login screen to
      X or gnome-shell/wayland will cause a vt switch and the driver will disable
      svga mode, losing all modesetting resources. However, the kms atomic state
      does not reflect that and may think that a crtc is still turned on, which
      will cause device errors when we try to bind an fb to the crtc, and the
      screen will remain black.
      
      Fix this by turning off all kms resources before disabling svga mode.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NSinclair Yeh <syeh@vmware.com>
      140bcaa2
  12. 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
  13. 23 1月, 2018 1 次提交
  14. 17 1月, 2018 1 次提交
  15. 09 1月, 2018 1 次提交
    • T
      drm/vmwgfx: Don't cache framebuffer maps · 98648ae6
      Thomas Hellstrom 提交于
      Buffer objects need to be either pinned or reserved while a map is active,
      that's not the case here, so avoid caching the framebuffer map.
      This will cause increasing mapping activity mainly when we don't do
      page flipping.
      
      This fixes occasional garbage filled screens when the framebuffer has been
      evicted after the map.
      
      Since in-kernel mapping of whole buffer objects is error-prone on 32-bit
      architectures and also quite inefficient, we will revisit this later.
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NSinclair Yeh <syeh@vmware.com>
      Cc: <stable@vger.kernel.org>
      98648ae6
  16. 21 11月, 2017 5 次提交
  17. 12 10月, 2017 1 次提交
  18. 30 8月, 2017 1 次提交