diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-01-27 20:20:30 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-01-27 20:20:30 +0000 |
commit | 22cfd0431131538ad1953af86f7cc2d48af176d4 (patch) | |
tree | 5140295dd2c688fb491e458df7272e4c7eda580d /intel | |
parent | c4b00767a7f3b2d00c7b1bc61e2b4d13f90c10ca (diff) |
intel: Clear execobject flags before preserving object in reuse cache
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'intel')
-rw-r--r-- | intel/intel_bufmgr_gem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 9195f3e6..077746cd 100644 --- a/intel/intel_bufmgr_gem.c +++ b/intel/intel_bufmgr_gem.c @@ -1411,6 +1411,8 @@ drm_intel_gem_bo_unreference_final(drm_intel_bo *bo, time_t time) 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); |