intel: Don't enable execbuf2 fenced relocs unless we have execbuf2.

main
Eric Anholt 2010-03-02 16:04:14 -08:00
parent 292a5d73a2
commit 766fa7909f
1 changed files with 3 additions and 2 deletions

View File

@ -1712,6 +1712,7 @@ drm_intel_bufmgr_gem_enable_fenced_relocs(drm_intel_bufmgr *bufmgr)
{ {
drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bufmgr; drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bufmgr;
if (bufmgr_gem->bufmgr.bo_exec == drm_intel_gem_bo_exec2)
bufmgr_gem->fenced_relocs = 1; bufmgr_gem->fenced_relocs = 1;
} }