radv: add RADV_DEBUG=vm option

Useful for debugging page faults because this adds a gap between every
VA allocation.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38907>
This commit is contained in:
Samuel Pitoiset
2025-12-11 14:57:08 +01:00
committed by Marge Bot
parent e53576a559
commit 0beb83b0eb
6 changed files with 16 additions and 5 deletions

View File

@@ -1504,6 +1504,8 @@ RADV driver environment variables
Use bvh4 encoding on GPUs that support bvh8 encoding.
``validatevas``
Enable tracking of VA ranges for radv_build_is_valid_va.
``vm``
add a gap between all VA allocations to check for page faults
.. envvar:: RADV_FORCE_VRS