mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
radv: enable global BO list if vm_always_valid is supported
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38529>
This commit is contained in:
parent
cf4c55a20f
commit
9e76f5f2a2
1 changed files with 1 additions and 1 deletions
|
|
@ -1243,7 +1243,7 @@ radv_CreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCr
|
|||
|
||||
/* Enable the global BO list by default. */
|
||||
/* TODO: Remove the per cmdbuf BO list tracking after few Mesa releases if no blockers. */
|
||||
device->use_global_bo_list = !pdev->info.is_virtio;
|
||||
device->use_global_bo_list = pdev->info.has_vm_always_valid;
|
||||
|
||||
/* Disable it for debugging purposes if no features require it. */
|
||||
if (instance->debug_flags & RADV_DEBUG_NO_BO_LIST) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue