mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: gsp NVRISCV load and bootstrap
Changes: - This change will only init gsp software state, nvgpu_gsp_bootstrap need to be called. - CONFIG_NVGPU_GSP_SCHEDULER flag is created to compile out the gsp scheduler code when needed. - Created GSP engine reset which is needed when ACR completed execution and need to load gsp fw. NVGPU-6783 Signed-off-by: Ramesh Mylavarapu <rmylavarapu@nvidia.com> Change-Id: I2ce43e512b01df59443559eab621ed39868ad158 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2554267 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
1782bb435b
commit
d328bff79e
@@ -83,6 +83,10 @@
|
||||
#include "debug_pmgr.h"
|
||||
#include "dmabuf_priv.h"
|
||||
|
||||
#ifdef CONFIG_NVGPU_GSP_SCHEDULER
|
||||
#include "nvgpu/gsp.h"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NVGPU_SUPPORT_CDE
|
||||
#include "cde.h"
|
||||
#endif
|
||||
@@ -945,6 +949,10 @@ void gk20a_remove_support(struct gk20a *g)
|
||||
nvgpu_free_cyclestats_snapshot_data(g);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NVGPU_GSP_SCHEDULER
|
||||
nvgpu_gsp_sw_deinit(g);
|
||||
#endif
|
||||
|
||||
nvgpu_fbp_remove_support(g);
|
||||
|
||||
nvgpu_remove_usermode_support(g);
|
||||
|
||||
Reference in New Issue
Block a user