1. 30 6月, 2018 2 次提交
  2. 20 6月, 2018 2 次提交
  3. 12 6月, 2018 6 次提交
  4. 23 5月, 2018 3 次提交
  5. 16 5月, 2018 1 次提交
  6. 03 5月, 2018 1 次提交
  7. 26 4月, 2018 2 次提交
  8. 24 4月, 2018 1 次提交
  9. 30 3月, 2018 1 次提交
  10. 22 3月, 2018 18 次提交
  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. 15 3月, 2018 1 次提交