mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 01:28:07 +02:00
radeonsi/gfx10: require LLVM 9
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
de99e0a563
commit
594010e366
1 changed files with 6 additions and 0 deletions
|
|
@ -897,6 +897,12 @@ radeonsi_screen_create_impl(struct radeon_winsys *ws,
|
|||
sscreen->ws = ws;
|
||||
ws->query_info(ws, &sscreen->info);
|
||||
|
||||
if (sscreen->info.chip_class == GFX10 && HAVE_LLVM < 0x0900) {
|
||||
fprintf(stderr, "radeonsi: Navi family support requires LLVM 9 or higher\n");
|
||||
FREE(sscreen);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (sscreen->info.chip_class >= GFX9) {
|
||||
sscreen->se_tile_repeat = 32 * sscreen->info.max_se;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue