mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-24 04:08:10 +02:00
Instead of assuming that VM_ALWAYS_VALID is always available, make its use conditionnal on its support. This allows to remove the virtio nctx special case (where VM_ALWAYS_VALID is only possible with virtio for buffers that also have the NO_CPU_ACCESS flag since CPU access is implemented through dmabuf on the host). Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Acked-by: Rob Clark <robdclark@chromium.org> Acked-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34470> |
||
|---|---|---|
| .. | ||
| amdgpu | ||
| null | ||