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, 1 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c index 9725ebe7..24112dd3 100644 --- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c | |||
@@ -1141,12 +1141,6 @@ err_release_acr_fw: | |||
1141 | return err; | 1141 | return err; |
1142 | } | 1142 | } |
1143 | 1143 | ||
1144 | static u8 pmu_is_debug_mode_en(struct gk20a *g) | ||
1145 | { | ||
1146 | u32 ctl_stat = gk20a_readl(g, pwr_pmu_scpctl_stat_r()); | ||
1147 | return pwr_pmu_scpctl_stat_debug_mode_v(ctl_stat); | ||
1148 | } | ||
1149 | |||
1150 | /* | 1144 | /* |
1151 | * @brief Patch signatures into ucode image | 1145 | * @brief Patch signatures into ucode image |
1152 | */ | 1146 | */ |
@@ -1160,7 +1154,7 @@ int acr_ucode_patch_sig(struct gk20a *g, | |||
1160 | unsigned int i, *p_sig; | 1154 | unsigned int i, *p_sig; |
1161 | nvgpu_pmu_dbg(g, " "); | 1155 | nvgpu_pmu_dbg(g, " "); |
1162 | 1156 | ||
1163 | if (!pmu_is_debug_mode_en(g)) { | 1157 | if (!g->ops.pmu.is_debug_mode_enabled(g)) { |
1164 | p_sig = p_prod_sig; | 1158 | p_sig = p_prod_sig; |
1165 | nvgpu_pmu_dbg(g, "PRODUCTION MODE\n"); | 1159 | nvgpu_pmu_dbg(g, "PRODUCTION MODE\n"); |
1166 | } else { | 1160 | } else { |