projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b062f0
)
radeonsi: initialize ac_gpu_info::name when using SI_FORCE_FAMILY
author
Marek Olšák
<marek.olsak@amd.com>
Mon, 17 Sep 2018 01:18:47 +0000
(21:18 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 2 Oct 2018 16:21:49 +0000
(12:21 -0400)
so that it's not NULL when loading radeonsi and a GCN GPU is not
present in the system.
src/gallium/drivers/radeonsi/si_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_pipe.c
b/src/gallium/drivers/radeonsi/si_pipe.c
index
82af9dd
..
aa53406
100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_pipe.c
+++ b/
src/gallium/drivers/radeonsi/si_pipe.c
@@
-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;