Skip to content
Snippets Groups Projects
  1. Apr 10, 2009
  2. Apr 09, 2009
  3. Apr 06, 2009
  4. Mar 31, 2009
  5. Mar 30, 2009
  6. Mar 26, 2009
    • Jesse Barnes's avatar
      libdrm/intel: support GTT maps correctly · e2d7dfb6
      Jesse Barnes authored
      
      libdrm has some support for GTT mapping already, but there are bugs
      with it (no surprise since it hasn't been used much).
      
      In fixing 20803, I found that sharing bo_gem->virtual was a bad idea,
      since a previously mapped object might not end up getting GTT mapped,
      leading to corruption.  So this patch splits the fields according to
      use, taking care to unmap both at free time (but preserving the map
      caching).
      
      There's still a risk we might run out of mappings (there's a sysctl
      tunable for max number of mappings per process, defaulted to 64k or so
      it looks like) but at least GTT maps will work with these changes (and
      some others for fixing PAT breakage in the kernel).
      
      Reviewed-by: default avatarEric Anholt <eric@anholt.net>
      Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
      e2d7dfb6
  7. Mar 25, 2009
  8. Mar 24, 2009
  9. Mar 20, 2009
  10. Mar 19, 2009
  11. Mar 18, 2009
  12. Mar 16, 2009
  13. Mar 09, 2009
  14. Mar 05, 2009
Loading