From 2e4179b4a746ed0c8bf05d7e949edfd978b6d1ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Fri, 9 Aug 2024 07:38:18 -0700 Subject: [PATCH] docs/anv: Document ANV_SPARSE and ANV_SPARSE_USE_TRTT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Paulo Zanoni Signed-off-by: José Roberto de Souza Part-of: --- docs/envvars.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/envvars.rst b/docs/envvars.rst index 7606e0717a8..4aca010eb9a 100644 --- a/docs/envvars.rst +++ b/docs/envvars.rst @@ -896,6 +896,19 @@ Anvil(ANV) driver environment variables If set to 1, true, or yes, then VK_EXT_graphics_pipeline_library will be disabled. +.. envvar:: ANV_SPARSE + + By default, the sparse resources feature is enabled. However, if set to 0, + false, or no, it will be disabled. + Platforms older than Tiger Lake do not support this feature. + +.. envvar:: ANV_SPARSE_USE_TRTT + + On platforms supported by Xe KMD (Lunar Lake and newer) this parameter + changes the implementation of sparse resources feature. + For i915 there is no option, sparse resources is always implemented with + TRTT. + DRI environment variables -------------------------