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/hal_gm20b.c | |
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/hal_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hal_gm20b.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c index 835d18d4..a2b23cca 100644 --- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c | |||
@@ -550,6 +550,7 @@ static const struct gpu_ops gm20b_ops = { | |||
550 | .reset_engine = gk20a_pmu_engine_reset, | 550 | .reset_engine = gk20a_pmu_engine_reset, |
551 | .is_engine_in_reset = gk20a_pmu_is_engine_in_reset, | 551 | .is_engine_in_reset = gk20a_pmu_is_engine_in_reset, |
552 | .get_irqdest = gk20a_pmu_get_irqdest, | 552 | .get_irqdest = gk20a_pmu_get_irqdest, |
553 | .is_debug_mode_enabled = gm20b_pmu_is_debug_mode_en, | ||
553 | }, | 554 | }, |
554 | .clk = { | 555 | .clk = { |
555 | .init_clk_support = gm20b_init_clk_support, | 556 | .init_clk_support = gm20b_init_clk_support, |