diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/acr_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/acr_gm20b.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c index 4f684191..fe9cf93f 100644 --- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2015-2018, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2015-2021, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * Permission is hereby granted, free of charge, to any person obtaining a | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
5 | * copy of this software and associated documentation files (the "Software"), | 5 | * copy of this software and associated documentation files (the "Software"), |
@@ -1372,7 +1372,11 @@ static void gm20b_acr_default_sw_init(struct gk20a *g, struct hs_acr *hs_acr) | |||
1372 | 1372 | ||
1373 | /* ACR HS ucode type & f/w name*/ | 1373 | /* ACR HS ucode type & f/w name*/ |
1374 | hs_acr->acr_type = ACR_DEFAULT; | 1374 | hs_acr->acr_type = ACR_DEFAULT; |
1375 | hs_acr->acr_fw_name = HSBIN_ACR_UCODE_IMAGE; | 1375 | if (!g->ops.pmu.is_debug_mode_enabled(g)) { |
1376 | hs_acr->acr_fw_name = GM20B_HSBIN_ACR_PROD_UCODE; | ||
1377 | } else { | ||
1378 | hs_acr->acr_fw_name = GM20B_HSBIN_ACR_DBG_UCODE; | ||
1379 | } | ||
1376 | 1380 | ||
1377 | /* bootlader interface used by ACR HS bootloader*/ | 1381 | /* bootlader interface used by ACR HS bootloader*/ |
1378 | hs_acr->ptr_bl_dmem_desc = &hs_acr->bl_dmem_desc; | 1382 | hs_acr->ptr_bl_dmem_desc = &hs_acr->bl_dmem_desc; |