radv,gallium: Add driconf option to reduce advertised VRAM size.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 8 Sep 2020 00:02:09 +0000 (02:02 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 8 Sep 2020 23:59:35 +0000 (23:59 +0000)
commitcf2eebdf4f1eff4eaad30e6f62e026d8fbbe4ff5
tree05834194c8fb893b9d9e629acfce597fe63527b1
parentcc431f48f90945198782ab3201fd049d294743fc
radv,gallium: Add driconf option to reduce advertised VRAM size.

To help debugging games that actually do active memory budget
management.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6641>
src/amd/vulkan/radv_device.c
src/gallium/auxiliary/pipe-loader/driinfo_gallium.h
src/gallium/frontends/dri/dri_query_renderer.c
src/util/driconf.h