radeonsi aborting in LLVM validation test in si_compile_tgsi_shader()
Updating to mesa git on a Kabini, Kodi start aborting with following error;
LLVM failed to compile a shader correctly: SGPR:VGPR usage is 48:12, but the hw limit is 0:0
Which is from the LLVM validation test for max_sgpr and max_vgpr in src/gallium/drivers/radeonsi/si_shader.c. Bisecting points to 0692ae34 "ac: move ac_get_num_physical_sgprs into radeon_info" from MR !2017 (merged) as first bad commit.
Problem is a missing call to ac_query_gpu_info() in do_winsys_init() in src/gallium/winsys/radeon/drm/radeon_drm_winsys.c compared to src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c.