diff options
author | Marek Olšák <[email protected]> | 2018-07-19 22:44:27 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-07-24 14:21:29 -0400 |
commit | 98ab24fdab99ed54a1d1c89af74f8ec026b224af (patch) | |
tree | 75e07c692fecfe59e45ffefab14665a732fc9735 /src | |
parent | 9ebd8372b9d98b1ffa7e80666ee367c59e128af5 (diff) |
radeonsi: handle SI_FORCE_FAMILY early
before LLVM target machines are created
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 9823ddbaf83..9e3a579d743 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -791,6 +791,7 @@ struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws, sscreen->ws = ws; ws->query_info(ws, &sscreen->info); + si_handle_env_var_force_family(sscreen); sscreen->debug_flags = debug_get_flags_option("R600_DEBUG", debug_options, 0); @@ -880,8 +881,6 @@ struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws, return NULL; } - si_handle_env_var_force_family(sscreen); - if (!debug_get_bool_option("RADEON_DISABLE_PERFCOUNTERS", false)) si_init_perfcounters(sscreen); |