summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKarol Herbst <kherbst@redhat.com>2020-05-05 15:09:50 +0200
committerMarge Bot <eric+marge@anholt.net>2020-07-14 19:59:12 +0000
commitc0f7f833eb9c968e9f1491117d3ddc072eefddb7 (patch)
treee9d74534b45f64ac9aff2110304a9f0804a7e41f /docs
parent08ceba943d280759b01973dec291eaa14a820894 (diff)
gallium: add PIPE_CAP_RESOURCE_FROM_USER_MEMORY_COMPUTE_ONLY
With the current UAPI we only support user pointers from the compute engines, so we need a way to express that in gallium. v2: fix typos v3: add allows_user_pointers helper Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Pierre Moreau <dev@pmoreau.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5906>
Diffstat (limited to 'docs')
-rw-r--r--docs/gallium/screen.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/gallium/screen.rst b/docs/gallium/screen.rst
index 209b978bc14..1c572f9af54 100644
--- a/docs/gallium/screen.rst
+++ b/docs/gallium/screen.rst
@@ -275,6 +275,9 @@ The integer capabilities:
existing user memory into the device address space for direct device access.
The create function is pipe_screen::resource_from_user_memory. The address
and size must be page-aligned.
+* ``PIPE_CAP_RESOURCE_FROM_USER_MEMORY_COMPUTE_ONLY``: Same as
+ ``PIPE_CAP_RESOURCE_FROM_USER_MEMORY`` but indicates it is only supported from
+ the compute engines.
* ``PIPE_CAP_DEVICE_RESET_STATUS_QUERY``:
Whether pipe_context::get_device_reset_status is implemented.
* ``PIPE_CAP_MAX_SHADER_PATCH_VARYINGS``: