diff options
author | Karol Herbst <[email protected]> | 2020-05-05 15:09:50 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-14 19:59:12 +0000 |
commit | c0f7f833eb9c968e9f1491117d3ddc072eefddb7 (patch) | |
tree | e9d74534b45f64ac9aff2110304a9f0804a7e41f /docs | |
parent | 08ceba943d280759b01973dec291eaa14a820894 (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 <[email protected]>
Reviewed-by: Pierre Moreau <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5906>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/gallium/screen.rst | 3 |
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``: |