docs: update DRI_PRIME documentation
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 12 Jan 2023 13:07:08 +0000 (14:07 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 18 Sep 2023 07:45:27 +0000 (07:45 +0000)
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24750>

docs/envvars.rst

index 2c30e57..2707374 100644 (file)
@@ -393,7 +393,7 @@ Core Mesa environment variables
    and Vulkan (in this case "select" means the GPU will be first in the reported
    physical devices list). The supported syntaxes are:
 
-   - ``DRI_PRIME=1``: selects the first non-default GPU.
+   - ``DRI_PRIME=N``: selects the Nth non-default GPU (N > 0).
    - ``DRI_PRIME=pci-0000_02_00_0``: selects the GPU connected to this PCIe bus
    - ``DRI_PRIME=vendor_id:device_id``: selects the first GPU matching these ids