mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
radv/gfx10: require LLVM 9+
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
0f769ed398
commit
bf1e1a29c3
1 changed files with 6 additions and 0 deletions
|
|
@ -45,6 +45,12 @@ do_winsys_init(struct radv_amdgpu_winsys *ws, int fd)
|
|||
if (!ac_query_gpu_info(fd, ws->dev, &ws->info, &ws->amdinfo))
|
||||
return false;
|
||||
|
||||
/* LLVM 9.0 is required for GFX10. */
|
||||
if (ws->info.chip_class == GFX10 && HAVE_LLVM < 0x0900) {
|
||||
fprintf(stderr, "radv: Navi family support requires LLVM 9 or higher\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ws->info.chip_class > GFX9)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue