mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 13:52:54 +00:00
lib/intel_batchbuffer: drop cpu_mapping from igt_buf
It's unused. There's still num_tiles getting in the way of things, but that is used by gem_stress a bit. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -79,7 +79,6 @@ static void init_buffer(drm_intel_bufmgr *bufmgr,
|
||||
buf->size = width * height * 4;
|
||||
igt_assert(buf->bo);
|
||||
buf->tiling = I915_TILING_NONE;
|
||||
buf->data = buf->cpu_mapping = NULL;
|
||||
buf->num_tiles = width * height * 4;
|
||||
buf->stride = width * 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user