ac: add radeon_info::use_late_alloc to control LATE_ALLOC globally
[mesa.git] / src / gallium / winsys / radeon / drm / radeon_drm_winsys.c
index fca5be58751647a18d4aa44a0566fe023a0bae4a..8dde57200bd4ec12e78807d2a4745eb36198a565 100644 (file)
@@ -597,6 +597,8 @@ static bool do_winsys_init(struct radeon_drm_winsys *ws)
     ws->info.max_wave64_per_simd = 10;
     ws->info.num_physical_sgprs_per_simd = 512;
     ws->info.num_physical_wave64_vgprs_per_simd = 256;
+    /* Potential hang on Kabini: */
+    ws->info.use_late_alloc = ws->info.family != CHIP_KABINI;
 
     ws->check_vm = strstr(debug_get_option("R600_DEBUG", ""), "check_vm") != NULL ||
                    strstr(debug_get_option("AMD_DEBUG", ""), "check_vm") != NULL;