From 99e808567ca358e0e6d03f4731b81854070266a3 Mon Sep 17 00:00:00 2001 From: Mahantesh Kumbar Date: Fri, 8 Dec 2017 00:11:13 +0530 Subject: gpu: nvgpu: gv100: BOOTSTRAP_GR_FALCONS using RPC - Created nv_pmu_rpc_struct_acr_bootstrap_gr_falcons struct - gv100_load_falcon_ucode() function to bootstrap GR flacons using RPC, wait for INIT_WPR_REGION before creating & executing BOOTSTRAP_GR_FALCONS RPC. - Added code to handle BOOTSTRAP_GR_FALCONS ack in RPC handler Change-Id: If70dc75bb2789970382853fb001d970a346b2915 Signed-off-by: Mahantesh Kumbar Reviewed-on: https://git-master.nvidia.com/r/1613316 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv100/pmu_gv100.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gv100/pmu_gv100.h') diff --git a/drivers/gpu/nvgpu/gv100/pmu_gv100.h b/drivers/gpu/nvgpu/gv100/pmu_gv100.h index 5ef34149..4c8b3541 100644 --- a/drivers/gpu/nvgpu/gv100/pmu_gv100.h +++ b/drivers/gpu/nvgpu/gv100/pmu_gv100.h @@ -28,5 +28,6 @@ struct gk20a; int gv100_pmu_init_acr(struct gk20a *g); +int gv100_load_falcon_ucode(struct gk20a *g, u32 falconidmask); #endif /*__PMU_GV100_H_*/ -- cgit v1.2.2