From b25d5d86caa049201ddcea77cf1a733a85090698 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 29 Aug 2018 09:42:41 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1809225 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gp106/hal_gp106.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c') diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index 54648f56..78a3ea63 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c @@ -668,6 +668,7 @@ static const struct gpu_ops gp106_ops = { .pmu_lpwr_enable_pg = nvgpu_lpwr_enable_pg, .get_irqdest = gk20a_pmu_get_irqdest, .alloc_super_surface = NULL, + .is_debug_mode_enabled = gm20b_pmu_is_debug_mode_en, }, .clk = { .init_clk_support = gp106_init_clk_support, -- cgit v1.2.2