summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/intel_batchbuffer.h1
-rw-r--r--tests/gem_ringfill.c1
-rw-r--r--tests/gem_seqno_wrap.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h
index 3daf33cd..6a65f6f7 100644
--- a/lib/intel_batchbuffer.h
+++ b/lib/intel_batchbuffer.h
@@ -201,7 +201,6 @@ struct igt_buf {
uint32_t stride;
uint32_t tiling;
uint32_t *data;
- uint32_t *cpu_mapping;
uint32_t size;
unsigned num_tiles;
};
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;
}