zink: sum available memory heaps instead of assigning
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 4 Aug 2021 15:44:28 +0000 (11:44 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 4 Aug 2021 18:07:58 +0000 (14:07 -0400)
commit42442a0d4e3125db00922c4d0a2c4d0f4d415205
treeb3e1c103957002a95866cdd2ad1696cabb27b8da
parent8cfa6b4d7520af63417b5752ce81b998f3985148
zink: sum available memory heaps instead of assigning

this is supposed to accumulate now

Fixes: 73f6bff07f1 ("zink: fix mem info query to be more permissive")

Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12199>
src/gallium/drivers/zink/zink_screen.c