diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-22 18:04:52 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-22 18:04:52 +0100 |
commit | 43b7aa44fdc8dee372f6d0766e953da0a36de25a (patch) | |
tree | e8c476a93bdb52130a37c2e9b341d87bd00441a1 /tests | |
parent | 53a4d9e982420e8a921ecf7b9542adbd3586317c (diff) |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gem_ringfill.c | 1 | ||||
-rw-r--r-- | tests/gem_seqno_wrap.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/tests/gem_ringfill.c b/tests/gem_ringfill.c index 3c3df73b..ef98701c 100644 --- a/tests/gem_ringfill.c +++ b/tests/gem_ringfill.c @@ -126,7 +126,6 @@ static int check_ring(drm_intel_bufmgr *bufmgr, src.stride = 4 * width; src.tiling = 0; - src.data = src.cpu_mapping = NULL; src.size = 4 * width * height; src.num_tiles = 4 * width * height; dst = tmp = src; diff --git a/tests/gem_seqno_wrap.c b/tests/gem_seqno_wrap.c index 25f11b4e..f9740324 100644 --- a/tests/gem_seqno_wrap.c +++ b/tests/gem_seqno_wrap.c @@ -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; } |