diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-03-20 12:33:22 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-03-20 12:33:22 -0700 |
commit | 48b91e066878db63a1558e4cd3e6d12ff9c49197 (patch) | |
tree | 706abc3f670032891266653d81bafd3e3e34870d /src | |
parent | 28319d60aa2d793c209043c1ce2d38b14c66a4be (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.
Diffstat (limited to 'src')
-rw-r--r-- | src/i830_memory.c | 3 |
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 |