winsys/radeon: initialize SIMD properties in radeon_info
authorMarek Olšák <marek.olsak@amd.com>
Mon, 30 Sep 2019 19:14:11 +0000 (15:14 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 7 Oct 2019 22:44:19 +0000 (18:44 -0400)
This was missed when I added them.

Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1839
Fixes: 0692ae34e93 ("ac: move ac_get_num_physical_sgprs into radeon_info")
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c

index 1630e93d2d6f4045c43dfc6ff35aaed09705827f..36d506b4928099512be65e5bfcd7dbc31fe1db6f 100644 (file)
@@ -589,6 +589,9 @@ static bool do_winsys_init(struct radeon_drm_winsys *ws)
     ws->info.max_alignment = 1024*1024;
     ws->info.has_graphics = true;
     ws->info.cpdma_prefetch_writes_memory = true;
+    ws->info.max_wave64_per_simd = 10;
+    ws->info.num_physical_sgprs_per_simd = 512;
+    ws->info.num_physical_wave64_vgprs_per_simd = 256;
 
     ws->check_vm = strstr(debug_get_option("R600_DEBUG", ""), "check_vm") != NULL ||
                    strstr(debug_get_option("AMD_DEBUG", ""), "check_vm") != NULL;