aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-01-22 22:45:14 -0800
committerJason Ekstrand <[email protected]>2018-01-24 19:05:36 -0800
commit7d4007d58ab7c0c1796e116b55814f8be4e699a9 (patch)
treee113058782a73a33bbbcaa5f6e19e1d87c5fafca
parente77679143261bc19209b927a0fbc60eb46423016 (diff)
aubinator: Multiply count by 4 to compute buffer sizes
The count field is in terms of dwords and not bytes.
-rw-r--r--src/intel/tools/aubinator_error_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/aubinator_error_decode.c b/src/intel/tools/aubinator_error_decode.c
index 01c6a7a3654..2ef65953dad 100644
--- a/src/intel/tools/aubinator_error_decode.c
+++ b/src/intel/tools/aubinator_error_decode.c
@@ -390,7 +390,7 @@ get_gen_batch_bo(void *user_data, uint64_t address)
return (struct gen_batch_decode_bo) {
.addr = sections[s].gtt_offset,
.map = sections[s].data,
- .size = sections[s].count,
+ .size = sections[s].count * 4,
};
}
}