diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-08-29 12:42:41 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-31 21:57:15 -0400 |
commit | b25d5d86caa049201ddcea77cf1a733a85090698 (patch) | |
tree | 949766369ec1cd28f993f9d7c936fdc5e5e96139 /drivers/gpu/nvgpu/gm20b/pmu_gm20b.h | |
parent | 0dc9daf28e3fe6831bc535c8a45d28d974a11dad (diff) |
gpu: nvgpu: Use debug sig for NVDEC if on dbg SKU
Debug fused chips do not have production signature. Use debug
signature for memory unlock binary. Requires also exporting a HAL
for checking debug mode from PMU.
Bug 200445202
Change-Id: I7f88ed6db2fe1c614fe9d4074dbf974c3817f453
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1809225
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/pmu_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/pmu_gm20b.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/pmu_gm20b.h b/drivers/gpu/nvgpu/gm20b/pmu_gm20b.h index ec50fb06..1923c047 100644 --- a/drivers/gpu/nvgpu/gm20b/pmu_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/pmu_gm20b.h | |||
@@ -33,5 +33,6 @@ void pmu_dump_security_fuses_gm20b(struct gk20a *g); | |||
33 | void gm20b_pmu_load_lsf(struct gk20a *g, u32 falcon_id, u32 flags); | 33 | void gm20b_pmu_load_lsf(struct gk20a *g, u32 falcon_id, u32 flags); |
34 | int gm20b_pmu_init_acr(struct gk20a *g); | 34 | int gm20b_pmu_init_acr(struct gk20a *g); |
35 | void gm20b_write_dmatrfbase(struct gk20a *g, u32 addr); | 35 | void gm20b_write_dmatrfbase(struct gk20a *g, u32 addr); |
36 | bool gm20b_pmu_is_debug_mode_en(struct gk20a *g); | ||
36 | 37 | ||
37 | #endif /*__PMU_GM20B_H_*/ | 38 | #endif /*__PMU_GM20B_H_*/ |