zink: determine whether the gpu has a resizable BAR at startup
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 30 Jul 2021 13:18:54 +0000 (09:18 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 30 Aug 2021 13:46:04 +0000 (13:46 +0000)
commit9a8960de53ab21592510056bb9681991565564c8
tree29952c16f2b315609c365540bea46e1b46dc1f2f
parent1c9b0b853e681c0803cc8bec0b7ceeb039a91247
zink: determine whether the gpu has a resizable BAR at startup

this can be used to make different allocation and mapping decisions

Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12579>
src/gallium/drivers/zink/zink_screen.c
src/gallium/drivers/zink/zink_screen.h