nvc0: support PIPE_CAP_RESOURCE_FROM_USER_MEMORY_COMPUTE_ONLY
authorKarol Herbst <kherbst@redhat.com>
Wed, 27 May 2020 14:29:06 +0000 (16:29 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 14 Jul 2020 19:59:12 +0000 (19:59 +0000)
commit212f1ab40ea5945919a92926fd9b2aa085fed661
tree6993f874b86e158f75a0022af7cfa072142bcd92
parentc0f7f833eb9c968e9f1491117d3ddc072eefddb7
nvc0: support PIPE_CAP_RESOURCE_FROM_USER_MEMORY_COMPUTE_ONLY

v2: rework by adding a new buffer status

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5906>
src/gallium/drivers/nouveau/nouveau_buffer.c
src/gallium/drivers/nouveau/nouveau_buffer.h
src/gallium/drivers/nouveau/nvc0/nvc0_resource.c