summaryrefslogtreecommitdiff
path: root/docs/envvars.rst
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2023-05-12 08:13:22 -0400
committerMarge Bot <emma+marge@anholt.net>2023-06-07 03:21:49 +0000
commit389c0fdc7c71c634ca35cef6cb4d0c018358f974 (patch)
treebf1c824e291ee8b9c56bef7b69936ac6c7403310 /docs/envvars.rst
parent3a0d1f83d57db303b85ab281b161a34229484d5a (diff)
downloadmesa-389c0fdc7c71c634ca35cef6cb4d0c018358f974.tar.gz
mesa-389c0fdc7c71c634ca35cef6cb4d0c018358f974.tar.bz2
mesa-389c0fdc7c71c634ca35cef6cb4d0c018358f974.zip
asahi: Add ASAHI_MESA_DEBUG=nowc flag
Add a debug flag to disable write-combining as a performance hack. This may help diagnose slowness with glReadPixels() heavy workloads like screen capture. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23480>
Diffstat (limited to 'docs/envvars.rst')
-rw-r--r--docs/envvars.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/envvars.rst b/docs/envvars.rst
index 5b7352113a1..98233c67b6e 100644
--- a/docs/envvars.rst
+++ b/docs/envvars.rst
@@ -1633,6 +1633,10 @@ Asahi driver environment variables
possible) or added in the Mesa-wide driconf (if closed source).
``dirty``
In debug builds only: disable dirty tracking optimizations.
+ ``nowc``
+ Disable write-combining (force all allocations to be write-through). This
+ may be useful for diagnosing certain performance issues. Note imported
+ buffers may still be write-combined.
.. envvar:: AGX_MESA_DEBUG