Commit 189956af authored by Tvrtko Ursulin's avatar Tvrtko Ursulin

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's avatarTvrtko Ursulin <>
Reviewed-by: Chris Wilson's avatarChris Wilson <>
parent 24366f08
Pipeline #21939 passed with stages
in 7 minutes and 29 seconds
......@@ -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] = {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment