summaryrefslogtreecommitdiff
path: root/include/Makefile.am
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-05-24 18:35:41 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-05-24 18:38:29 +0100
commitfcf3e616eeeb289f96af1436d809f0a1a42bebb7 (patch)
treebdbd4c0e2b4017d216e4e93748ca134d40725c68 /include/Makefile.am
parenta3305b076c005e0d3bd55da0214e91413cf65b48 (diff)
intel: Don't change tiling mode unless the kernel reports success.
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.
Diffstat (limited to 'include/Makefile.am')
0 files changed, 0 insertions, 0 deletions