st/nine: Allow to override the vram size
authorAxel Davy <davyaxel0@gmail.com>
Mon, 15 Mar 2021 21:35:26 +0000 (22:35 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 14 Apr 2021 08:33:14 +0000 (08:33 +0000)
commitc5f75bc2001126c688b384ce18221a8db02c2cfd
tree14a5ae49ab39b21c1cf7283af2740a74fd6f2ada
parent26a42f105344836c04e7fbe85c2ffb90b59b6fac
st/nine: Allow to override the vram size

This can be useful for debugging, or for some apps
not supporting >= 4GB of vram.

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Acked-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10160>
src/gallium/frontends/nine/adapter9.h
src/gallium/frontends/nine/device9.c
src/gallium/targets/d3dadapter9/drm.c