anv: increase instruction heap to 2Gb
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 4 May 2023 07:58:34 +0000 (10:58 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 5 May 2023 11:48:15 +0000 (14:48 +0300)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8917
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22847>

src/intel/vulkan/anv_va.c

index 017569d..ec65833 100644 (file)
@@ -118,7 +118,7 @@ anv_physical_device_init_va_ranges(struct anv_physical_device *device)
     * located at an address with the lower 32bits at 0.
     */
    address = align64(address, _4Gb);
-   address = va_add(&device->va.instruction_state_pool, address, _1Gb);
+   address = va_add(&device->va.instruction_state_pool, address, 2 * _1Gb);
 
    /* Whatever we have left we split in 2 for app allocations client-visible &
     * non-client-visible.