[Mesa-dev] [PATCH 30/53] i965/drm: Drop bo_gem::kflags.
Kenneth Graunke
kenneth at whitecape.org
Wed Apr 5 00:10:20 UTC 2017
It's always zero now.
---
src/mesa/drivers/dri/i965/intel_bufmgr_gem.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_bufmgr_gem.c b/src/mesa/drivers/dri/i965/intel_bufmgr_gem.c
index fb02b1258eb..499cd19808f 100644
--- a/src/mesa/drivers/dri/i965/intel_bufmgr_gem.c
+++ b/src/mesa/drivers/dri/i965/intel_bufmgr_gem.c
@@ -185,8 +185,6 @@ struct _drm_bacon_bo_gem {
uint32_t swizzle_mode;
unsigned long stride;
- unsigned long kflags;
-
time_t free_time;
/** Array passed to the DRM containing relocation information. */
@@ -406,7 +404,7 @@ drm_bacon_add_validate_buffer2(drm_bacon_bo *bo)
bufmgr->exec2_objects[index].relocs_ptr = (uintptr_t)bo_gem->relocs;
bufmgr->exec2_objects[index].alignment = bo->align;
bufmgr->exec2_objects[index].offset = bo->offset64;
- bufmgr->exec2_objects[index].flags = bo_gem->kflags;
+ bufmgr->exec2_objects[index].flags = 0;
bufmgr->exec2_objects[index].rsvd1 = 0;
bufmgr->exec2_objects[index].rsvd2 = 0;
bufmgr->exec_bos[index] = bo;
@@ -1017,7 +1015,6 @@ drm_bacon_gem_bo_unreference_final(drm_bacon_bo *bo, time_t time)
time);
}
}
- bo_gem->kflags = 0;
bo_gem->reloc_count = 0;
bo_gem->used_as_reloc_target = false;
--
2.12.1
More information about the mesa-dev
mailing list