From 22cfd0431131538ad1953af86f7cc2d48af176d4 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 27 Jan 2017 20:20:30 +0000 Subject: intel: Clear execobject flags before preserving object in reuse cache Signed-off-by: Chris Wilson --- intel/intel_bufmgr_gem.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intel') 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); -- cgit v1.2.3