mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
gpu: nvgpu: gsp units separation
Separated gsp unit into three unit: - GSP unit which holds the core functionality of GSP RISCV core, bootstrap, interrupt, etc. - GSP Scheduler to hold the cmd/msg management, IPC, etc. - GSP Test to hold stress test ucode specific support. NVGPU-7492 Signed-off-by: Ramesh Mylavarapu <rmylavarapu@nvidia.com> Change-Id: I12340dc776d610502f28c8574843afc7481c0871 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2660619 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
14ed75e857
commit
9302b2efee
@@ -93,6 +93,10 @@
|
||||
|
||||
#ifdef CONFIG_NVGPU_GSP_SCHEDULER
|
||||
#include "nvgpu/gsp.h"
|
||||
#include "nvgpu/gsp_sched.h"
|
||||
#endif
|
||||
#ifdef CONFIG_NVGPU_GSP_STRESS_TEST
|
||||
#include "nvgpu/gsp/gsp_test.h"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NVGPU_SUPPORT_CDE
|
||||
@@ -1063,8 +1067,13 @@ void gk20a_remove_support(struct gk20a *g)
|
||||
nvgpu_free_cyclestats_snapshot_data(g);
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_NVGPU_DGPU
|
||||
#ifdef CONFIG_NVGPU_GSP_SCHEDULER
|
||||
nvgpu_gsp_sw_deinit(g);
|
||||
nvgpu_gsp_sched_sw_deinit(g);
|
||||
#endif
|
||||
#ifdef CONFIG_NVGPU_GSP_STRESS_TEST
|
||||
nvgpu_gsp_test_sw_deinit(g);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
nvgpu_fbp_remove_support(g);
|
||||
|
||||
Reference in New Issue
Block a user