pan/mdg: Fix overflow in intra-bundle interference
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 23 Feb 2022 14:29:28 +0000 (09:29 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 23 Feb 2022 20:42:33 +0000 (20:42 +0000)
commit31b7ebcbc7fdbef3b26e714443b1f7840b7982e6
tree885aa9eb7319e5c4957e448b7678f6eee7dce1f8
parent0fffaa9fca93f6e9e8934b43d4aeb4594aea2202
pan/mdg: Fix overflow in intra-bundle interference

There are up to 4 instructions in the latter stage (if a branch is included),
not 3. Bump the limit to fix memory corruption.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reported-by: Icecream95 <ixn@disroot.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15147>
src/panfrost/midgard/midgard_ra.c