anv: track vram only BOs to print things out on ENOMEM execbuf

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21380>
This commit is contained in:
Lionel Landwerlin
2023-02-17 14:31:56 +02:00
committed by Marge Bot
parent 0aa44b107a
commit 18bf85468c
3 changed files with 14 additions and 5 deletions

View File

@@ -538,6 +538,9 @@ struct anv_bo {
/** True if this BO should be mapped with Write Combine enabled */
bool map_wc:1;
/** True if this BO can only live in VRAM */
bool vram_only:1;
};
static inline struct anv_bo *