1. 09 6月, 2019 1 次提交
  2. 15 2月, 2019 1 次提交
  3. 07 7月, 2018 3 次提交
  4. 04 7月, 2018 3 次提交
  5. 30 6月, 2018 1 次提交
  6. 23 5月, 2018 1 次提交
  7. 03 5月, 2018 1 次提交
  8. 22 3月, 2018 3 次提交
  9. 21 3月, 2018 1 次提交
  10. 02 11月, 2017 1 次提交
  11. 28 8月, 2017 1 次提交
  12. 18 7月, 2017 2 次提交
  13. 20 6月, 2017 2 次提交
  14. 22 4月, 2017 1 次提交
    • Ø
      drm/vmwgfx: Convert macro to octal representation · 7a9d2001
      Øyvind A. Holm 提交于
      Change "S_IRUSR | S_IWUSR" to "0600", it's easier to parse mentally.
      
      This change should be part of commit 50f83737 ("drm/vmwgfx: Revert
      "drm/vmwgfx: Replace numeric parameter like 0444 with macro""), but the
      patch was truncated somewhere in the patch route, so add the missing
      change. Extract from the original commit message:
      
        commit 50f83737
        Author: Øyvind A. Holm <sunny@sunbase.org>
        Date:   Thu Mar 23 14:54:48 2017 -0700
      
          drm/vmwgfx: Revert "drm/vmwgfx: Replace numeric parameter like 0444
          with macro"
      
          This reverts commit 2d8e60e8 ("drm/vmwgfx: Replace numeric
          parameter like 0444 with macro")
      
          The commit belongs to the series of 1285 patches sent to LKML on
          2016-08-02, it changes the representation of file permissions from
          the octal value "0600" to "S_IRUSR | S_IWUSR".
      
          The general consensus was that the changes does not increase
          readability, quite the opposite; 0600 is easier to parse mentally
          than S_IRUSR | S_IWUSR.
      Signed-off-by: NØyvind A. Holm <sunny@sunbase.org>
      Reviewed-by: NSinclair Yeh <syeh@vmware.com>
      7a9d2001
  15. 01 4月, 2017 3 次提交
  16. 27 2月, 2017 1 次提交
  17. 27 1月, 2017 1 次提交
  18. 09 1月, 2017 1 次提交
  19. 11 10月, 2016 1 次提交
  20. 12 7月, 2016 1 次提交
  21. 02 7月, 2016 2 次提交
    • S
      drm/vmwgfx: Add an option to change assumed FB bpp · 04319d89
      Sinclair Yeh 提交于
      Offer an option for advanced users who want larger modes at 16bpp.
      
      This becomes necessary after the fix: "Work around mode set
      failure in 2D VMs."  Without this patch, there would be no way
      for existing advanced users to get to a high res mode, and the
      regression is they will likely get a black screen after a software
      update on their current VM.
      Signed-off-by: NSinclair Yeh <syeh@vmware.com>
      Reviewed-by: NThomas Hellstrom <thellstrom@vmware.com>
      Cc: <stable@vger.kernel.org>
      04319d89
    • S
      drm/vmwgfx: Work around mode set failure in 2D VMs · 7c20d213
      Sinclair Yeh 提交于
      In a low-memory 2D VM, fbdev can take up a large percentage of
      available memory, making them unavailable for other DRM clients.
      
      Since we do not take fbdev into account when filtering modes,
      we end up claiming to support more modes than we actually do.
      
      As a result, users get a black screen when setting a mode too
      large for current available memory.  In a low-memory VM
      configuration, users can get a black screen for a mode as low
      as 1024x768.
      
      The current mode filtering mechanism keys off of
      SVGA_REG_SUGGESTED_GBOBJECT_MEM_SIZE_KB, i.e. the maximum amount
      of surface memory we have.  Since this value is a performance
      suggestion, not a hard limit, and since there should not be much
      of a performance impact for a 2D VM, rather than filtering out
      more modes, we will just allow ourselves to exceed the SVGA's
      performance suggestion.
      
      Also changed assumed bpp to 32 from 16 to make sure we can
      actually support all the modes listed.
      Signed-off-by: NSinclair Yeh <syeh@vmware.com>
      Reviewed-by: NThomas Hellstrom <thellstrom@vmware.com>
      Cc: <stable@vger.kernel.org>
      7c20d213
  22. 22 6月, 2016 2 次提交
  23. 20 5月, 2016 2 次提交
  24. 05 5月, 2016 1 次提交
  25. 30 3月, 2016 1 次提交
  26. 14 3月, 2016 2 次提交