freedreno/decode: Increase size of offsets table
authorRob Clark <robdclark@chromium.org>
Sat, 14 Jan 2023 15:10:11 +0000 (07:10 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 1 Feb 2023 17:28:41 +0000 (17:28 +0000)
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 <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20975>

src/freedreno/decode/buffers.c

index 85c804f..aa567e3 100644 (file)
@@ -45,7 +45,7 @@ struct buffer {
    struct {
       unsigned offset;
       unsigned dumped_mask;
-   } offsets[64];
+   } offsets[256];
    unsigned noffsets;
 };