summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-03-20 12:33:22 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-03-20 12:33:22 -0700
commit48b91e066878db63a1558e4cd3e6d12ff9c49197 (patch)
tree706abc3f670032891266653d81bafd3e3e34870d
parent28319d60aa2d793c209043c1ce2d38b14c66a4be (diff)
Don't manage fences part two
Don't try to clear fences that were never installed. Missed this bit in the last fix for #20265.
-rw-r--r--src/i830_memory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c
index 36dab119..052d906e 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -270,7 +270,8 @@ i830_unbind_memory(ScrnInfoPtr pScrn, i830_memory *mem)
if (mem == NULL || !mem->bound)
return TRUE;
- if (mem->tiling != TILE_NONE && !pI830->use_drm_mode)
+ if (mem->tiling != TILE_NONE && !pI830->use_drm_mode &&
+ !pI830->kernel_exec_fencing)
i830_clear_tiling(pScrn, mem->fence_nr);
#ifdef XF86DRI