From: Rob Clark Date: Sat, 14 Jan 2023 15:10:11 +0000 (-0800) Subject: freedreno/decode: Increase size of offsets table X-Git-Tag: upstream/23.3.3~13852 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5eb85ef756e42c6a45481066eae36508a73904b1;p=platform%2Fupstream%2Fmesa.git freedreno/decode: Increase size of offsets table The offsets table stores offsets of a buffer (such as cmdstream) that we've already dumped. The suballoc pool results in more suballocated cmdstream allocated from a single backing buffer, meaning that we need to increase the size of this table. Signed-off-by: Rob Clark Part-of: --- diff --git a/src/freedreno/decode/buffers.c b/src/freedreno/decode/buffers.c index 85c804f..aa567e3 100644 --- a/src/freedreno/decode/buffers.c +++ b/src/freedreno/decode/buffers.c @@ -45,7 +45,7 @@ struct buffer { struct { unsigned offset; unsigned dumped_mask; - } offsets[64]; + } offsets[256]; unsigned noffsets; };