mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
radeonsi: initialize ac_gpu_info::name when using SI_FORCE_FAMILY
so that it's not NULL when loading radeonsi and a GCN GPU is not present in the system.
This commit is contained in:
parent
0b062f0419
commit
2fd58d8eb2
1 changed files with 1 additions and 0 deletions
|
|
@ -710,6 +710,7 @@ static void si_handle_env_var_force_family(struct si_screen *sscreen)
|
|||
if (!strcmp(family, ac_get_llvm_processor_name(i))) {
|
||||
/* Override family and chip_class. */
|
||||
sscreen->info.family = i;
|
||||
sscreen->info.name = "GCN-NOOP";
|
||||
|
||||
if (i >= CHIP_VEGA10)
|
||||
sscreen->info.chip_class = GFX9;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue