From 189956af183c245eb237b3be4fa22953ec93bbe0 Mon Sep 17 00:00:00 2001 From: Tvrtko Ursulin Date: Thu, 28 Feb 2019 13:50:07 +0000 Subject: 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 Reviewed-by: Chris Wilson --- benchmarks/gem_wsim.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'benchmarks') 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] = { -- cgit v1.2.3