mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-10 01:18:18 +02:00
radv/amdgpu: allow RADV_PERFTEST=localbos with virtio
VM_ALWAYS_VALID should be supported now. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41960>
This commit is contained in:
parent
879dd9ca8c
commit
52176d43c0
1 changed files with 0 additions and 7 deletions
|
|
@ -264,13 +264,6 @@ radv_amdgpu_winsys_create(int fd, uint64_t debug_flags, uint64_t perftest_flags,
|
|||
return VK_ERROR_INITIALIZATION_FAILED;
|
||||
}
|
||||
|
||||
if (is_virtio && (perftest_flags & RADV_PERFTEST_LOCAL_BOS)) {
|
||||
/* virtio doesn't support VM_ALWAYS_VALID, so disable options that requires it. */
|
||||
fprintf(stderr, "RADV_PERFTEST=localbos is not supported with virtio.\n");
|
||||
result = VK_ERROR_INITIALIZATION_FAILED;
|
||||
goto fail;
|
||||
}
|
||||
|
||||
ws = calloc(1, sizeof(struct radv_amdgpu_winsys));
|
||||
if (!ws) {
|
||||
result = VK_ERROR_OUT_OF_HOST_MEMORY;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue