Skip to content
Snippets Groups Projects
  1. Aug 25, 2010
  2. Aug 24, 2010
  3. Jun 16, 2010
  4. Jun 10, 2010
  5. Jun 09, 2010
  6. Jun 08, 2010
  7. Jun 06, 2010
  8. Jun 03, 2010
  9. Jun 01, 2010
  10. May 27, 2010
  11. May 26, 2010
  12. May 24, 2010
    • Chris Wilson's avatar
      intel: Don't change tiling mode unless the kernel reports success. · fcf3e616
      Chris Wilson authored
      Fixes:
      
        Bug 26686 - Some textures are distorted with libdrm 2.4.18 in GTAVC&GTA3
        http://bugs.freedesktop.org/show_bug.cgi?id=26686
      
      This bug continues to haunt me. The kernel SET_TILING ioctl is
      inconsistent in its return values when reporting an error. If one of its
      sanity checks fail, then the input values are left unchanged. If the
      kernel later fails to change the tiling mode, then the input values are
      modified to match the current tiling on the object. In short, userspace
      cannot trust the return values upon error and so we must assume that
      upon error our current tiling mode matches reality and not update.
      fcf3e616
  13. May 22, 2010