pan/bi: Track words instead of bytes in RA
authorAlyssa Rosenzweig <alyssa@collabora.com>
Tue, 8 Jun 2021 18:49:04 +0000 (14:49 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 10 Jun 2021 18:06:10 +0000 (18:06 +0000)
commit47e0cce820fb94d7e07253df30d5389d8fb4e3f9
tree991be6a534237c0ff45bee3a73f368107bdf49b9
parentdbc346d6593dc514c41aee5807105ee6f36f7c02
pan/bi: Track words instead of bytes in RA

Reduces RA memory footprint by 4x, fixing an OOM in the following dEQP
test that otherwise would allocate 8GB of memory...

   dEQP-GLES31.functional.ssbo.layout.random.all_shared_buffer.36

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11123>
src/panfrost/bifrost/bi_liveness.c
src/panfrost/bifrost/bi_ra.c
src/panfrost/bifrost/bir.c