From 9c2a0ce72dfcf53d1b1adda754319ebefd88d858 Mon Sep 17 00:00:00 2001 From: mkumbar Date: Wed, 6 May 2020 13:27:35 +0530 Subject: [PATCH] gpu: nvgpu: enable falcon sw init for NEXT dGPU Enable GSP, SEC2, NVDEC, PMU, FECS & GPCCS engines Falcon s/w support for NEXT dGPU. JIRA NVGPU-5464 Change-Id: I5398d4b0331c4ff59e00d0dd1857baa84db609d2 Signed-off-by: mkumbar Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2339669 Reviewed-by: automaticguardword Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity Reviewed-by: svc-mobile-misra Reviewed-by: svc-mobile-cert Reviewed-by: Alex Waterman Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/falcon/falcon.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/nvgpu/common/falcon/falcon.c b/drivers/gpu/nvgpu/common/falcon/falcon.c index 3810fc0d1..2dbc11295 100644 --- a/drivers/gpu/nvgpu/common/falcon/falcon.c +++ b/drivers/gpu/nvgpu/common/falcon/falcon.c @@ -447,6 +447,9 @@ static int falcon_sw_chip_init(struct gk20a *g, struct nvgpu_falcon *flcn) break; #ifdef CONFIG_NVGPU_DGPU case NVGPU_GPUID_TU104: +#if defined(CONFIG_NVGPU_NEXT) + case NVGPU_NEXT_DGPU_GPUID: +#endif tu104_falcon_sw_init(flcn); break; #endif