diff options
author | Kenneth Graunke <[email protected]> | 2017-04-03 00:42:30 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-04-10 14:31:43 -0700 |
commit | ad1b1cce44a04f68b9e294119e3dd92d996d1ffb (patch) | |
tree | 6382bf129d261640cb3f0f571f85426a2bc1ca40 | |
parent | a972c903cb04808b4e22432d49824209ee212475 (diff) |
i965/drm: Drop bo_gem::kflags.
It's always zero now.
Reviewed-by: Kenneth Graunke <[email protected]>
Acked-by: Jason Ekstrand <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_bufmgr_gem.c | 5 |
1 files changed, 1 insertions, 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; |