iris/bufmgr: Add all_vram_mappable which is currently always true
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 16 May 2022 16:48:23 +0000 (09:48 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 21 Jul 2022 20:27:10 +0000 (20:27 +0000)
commit49b1b8b85392cf4d4a21a375e2f3350046aaef23
tree79be2f2f0b2ef8fde7c043d7492af1a89eea75c7
parent618c871a23c0d66c8c134f7cbb5df464080f00aa
iris/bufmgr: Add all_vram_mappable which is currently always true

This can be false on systems where the PCI Base Address Register (BAR)
is too small for the amount of VRAM. Eventually the kernel will be
able to tell us that a system can't map all of VRAM, and
`all_vram_mappable` will then be false.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17349>
src/gallium/drivers/iris/iris_bufmgr.c