mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +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: I26263ee5bae07de056f676ed0fddc1193b5af82d Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2530438 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
cd3ad1ccc7
commit
aef4b80acb
@@ -40,6 +40,7 @@
|
||||
#include <nvgpu/fb.h>
|
||||
#include <nvgpu/device.h>
|
||||
#include <nvgpu/gr/gr.h>
|
||||
#include <nvgpu/gsp.h>
|
||||
#include <nvgpu/pm_reservation.h>
|
||||
#include <nvgpu/netlist.h>
|
||||
#include <nvgpu/hal_init.h>
|
||||
@@ -770,6 +771,10 @@ int nvgpu_finalize_poweron(struct gk20a *g)
|
||||
#ifdef CONFIG_NVGPU_DGPU
|
||||
NVGPU_INIT_TABLE_ENTRY(g->ops.sec2.init_sec2_setup_sw,
|
||||
NVGPU_SUPPORT_SEC2_RTOS),
|
||||
#endif
|
||||
#ifdef CONFIG_NVGPU_GSP_SCHEDULER
|
||||
/* Init gsp ops */
|
||||
NVGPU_INIT_TABLE_ENTRY(&nvgpu_gsp_sw_init, NO_FLAG),
|
||||
#endif
|
||||
NVGPU_INIT_TABLE_ENTRY(g->ops.acr.acr_init,
|
||||
NVGPU_SEC_PRIVSECURITY),
|
||||
|
||||
Reference in New Issue
Block a user