commit | 22cfd0431131538ad1953af86f7cc2d48af176d4 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Jan 27 20:20:30 2017 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Jan 27 20:20:30 2017 +0000 |
tree | 5140295dd2c688fb491e458df7272e4c7eda580d | |
parent | c4b00767a7f3b2d00c7b1bc61e2b4d13f90c10ca [diff] |
intel: Clear execobject flags before preserving object in reuse cache Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 9195f3e..077746c 100644 --- a/intel/intel_bufmgr_gem.c +++ b/intel/intel_bufmgr_gem.c
@@ -1411,6 +1411,8 @@ bo_gem->name = NULL; bo_gem->validate_index = -1; + bo_gem->kflags = 0; + DRMLISTADDTAIL(&bo_gem->head, &bucket->head); } else { drm_intel_gem_bo_free(bo);