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 14:04:59 +0000 (14:04 +0000)
commitefa847dbc9dca659efc33a8b15575d3aca3d8d13
tree919888eadce584caecb7143d42e6a6c4e802218f
parentdd2cc5bc44434cf21c0dfdf828d8ff1cc24cf0ff
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/4580>
src/gallium/drivers/nouveau/nouveau_buffer.c
src/gallium/drivers/nouveau/nouveau_buffer.h
src/gallium/drivers/nouveau/nvc0/nvc0_resource.c