nvk: Plumb no_prefetch through to the DRM back-end
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Tue, 22 Aug 2023 23:12:10 +0000 (18:12 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 24 Aug 2023 19:26:44 +0000 (19:26 +0000)
commit819d359d1d677a24872d9bf414fadc4652428e70
tree61b47c329bf9122f231b27f15f71cd648b13a371
parent458baeee5fa23552c7157b095bd035b8213aa602
nvk: Plumb no_prefetch through to the DRM back-end

Instead of using bit 23 of nvk_cmd_push::range for this, pass it as a
separate bool.  This lets us use the actual kernel flag with the new
UAPI.

Reviewed-by: Danilo Krummrich <dakr@redhat.com>
Tested-by: Danilo Krummrich <dakr@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24840>
src/nouveau/vulkan/nvk_cmd_buffer.c
src/nouveau/vulkan/nvk_cmd_buffer.h
src/nouveau/vulkan/nvk_queue_drm_nouveau.c