Skip to content
Snippets Groups Projects
  1. Jan 07, 2010
  2. Jan 05, 2010
  3. Dec 26, 2009
  4. Dec 25, 2009
  5. Dec 24, 2009
  6. Dec 23, 2009
  7. Dec 19, 2009
  8. Dec 14, 2009
  9. Dec 11, 2009
  10. Dec 08, 2009
  11. Dec 03, 2009
  12. Dec 01, 2009
    • Michel Dänzer's avatar
      EXA: Don't defragment offscreen memory at allocation time. · dde1f688
      Michel Dänzer authored
      Fixes http://bugs.freedesktop.org/show_bug.cgi?id=24300
      
       .
      
      Offscreen memory allocation can occur from various places, and apparently
      doing defragmentation from at least some of them can confuse some driver
      acceleration code.
      
      There's still the regular background defragmentation in the WakeupHandler,
      which should manage to keep fragmentation at a reasonable level.
      
      Signed-off-by: default avatarMichel Dänzer <daenzer@vmware.com>
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      (cherry picked from commit 8754db77)
      dde1f688
    • Ben Skeggs's avatar
      EXA: fix mixed-pixmaps issue where we could do accel with pixmap mapped · 17a1614c
      Ben Skeggs authored and Michel Dänzer's avatar Michel Dänzer committed
      
      The problem occurs in the following situation:
      
      1. Create Pixmap
      2. Software fallback on pixmap: pExaPixmap->pDamage created
      3. Accel to pixmap: driver pixmap created, exaPixmapIsOffscreen() now true
      4. Software fallback on pixmap
      4.1: PrepareAccess() from driver succeeds, so no DFS to system memory copy
      4.2: Software rendering...
      4.3: (pExaPixmap->pDamage && exaPixmapIsOffscreen()) is true, so we try
           to (incorrectly) UTS the data back to the driver pixmap, when we
           should just call the driver's FinishAccess() hook.
      4.4: fail
      
      The patch adds an additional check on pExaPixmap->offscreen, which should
      (for the cases exaPixmapIsOffscreen() will return true) only be FALSE
      when we haven't used PrepareAccess() on the pixmap.
      
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      Acked-By: default avatarMichel Dänzer <michel@daenzer.net>
      
      [ Michel Dänzer: This is a 'backport' of commit
        647b79f8 from master - actually this patch
        was submitted first but didn't apply to master anymore, so technically the
        other change is a 'forward port' of this one ]
      17a1614c
  13. Nov 30, 2009
  14. Nov 27, 2009
Loading