summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2019-02-28 13:50:07 +0000
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2019-03-01 09:39:53 +0000
commit189956af183c245eb237b3be4fa22953ec93bbe0 (patch)
tree224672451a17735d372d9ddb8e74c1dbc9d69a0e /benchmarks
parent24366f0868c6a33f9f246446c9f322163429ee01 (diff)
gem_wsim: Remove some unused struct members
We do not bother explicitly unmapping memory on exit so no need to store address and size in the workload step struct. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/gem_wsim.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/benchmarks/gem_wsim.c b/benchmarks/gem_wsim.c
index 57ceb983..afb9644d 100644
--- a/benchmarks/gem_wsim.c
+++ b/benchmarks/gem_wsim.c
@@ -131,7 +131,6 @@ struct w_step
struct drm_i915_gem_relocation_entry reloc[4];
unsigned long bb_sz;
uint32_t bb_handle;
- uint32_t *mapped_batch;
uint32_t *seqno_value;
uint32_t *seqno_address;
uint32_t *rt0_value;
@@ -139,7 +138,6 @@ struct w_step
uint32_t *rt1_address;
uint32_t *latch_value;
uint32_t *latch_address;
- unsigned int mapped_len;
};
DECLARE_EWMA(uint64_t, rt, 4, 2)
@@ -824,9 +822,6 @@ terminate_bb(struct w_step *w, unsigned int flags)
}
*cs = bbe;
-
- w->mapped_batch = ptr;
- w->mapped_len = mmap_len;
}
static const unsigned int eb_engine_map[NUM_ENGINES] = {