From: Jason Ekstrand Date: Tue, 23 Jan 2018 06:45:14 +0000 (-0800) Subject: aubinator: Multiply count by 4 to compute buffer sizes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d4007d58ab7c0c1796e116b55814f8be4e699a9;p=mesa.git aubinator: Multiply count by 4 to compute buffer sizes The count field is in terms of dwords and not bytes. --- 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, }; } }