1. 08 1月, 2009 1 次提交
  2. 07 1月, 2009 1 次提交
  3. 29 12月, 2008 5 次提交
  4. 19 12月, 2008 1 次提交
  5. 09 12月, 2008 1 次提交
  6. 04 12月, 2008 8 次提交
  7. 01 12月, 2008 1 次提交
  8. 25 11月, 2008 3 次提交
  9. 11 11月, 2008 1 次提交
  10. 03 11月, 2008 1 次提交
  11. 31 10月, 2008 1 次提交
  12. 23 10月, 2008 1 次提交
    • K
      drm/i915: hold dev->struct_mutex and DRM lock during vblank ring operations · 9e44af79
      Keith Packard 提交于
      To synchronize clip lists with the X server, the DRM lock must be held while
      looking at drawable clip lists. To synchronize with other ring access, the
      ring mutex must be held while inserting commands into the ring.  Failure to
      do the first resulted in easy visual corruption when moving windows, and the
      second could have corrupted the ring with DRI2.
      
      Grabbing the DRM lock involves using the DRM tasklet mechanism, grabbing the
      ring mutex means potentially sleeping. Deal with both of these by always
      running the tasklet from a work handler.
      
      Also, protect from clip list changes since the vblank request was queued by
      making sure the window has at least one rectangle while looking inside,
      preventing oopses .
      Signed-off-by: NKeith Packard <keithp@keithp.com>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      9e44af79
  13. 21 10月, 2008 2 次提交
  14. 18 10月, 2008 10 次提交