mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: gsp sched: create and enable gsp virtual memory access
Changes - Initialize virtual memory for gsp. This space is used for creating queues for ctrl fifo. Also can be used to ro map sync-pt to this instance where gsp firmware can poll the sync-pt with sync-pt id. - Enabled gsp context interface and written the instance block pointer to nxtctx register for the gsp firmware to access created virtual memory. - Added required gsp registers for this feature. NVGPU-8730 Bug 3770916 Change-Id: If538f615eca3f9b7840ffe2787826528b4808886 Signed-off-by: rmylavarapu <rmylavarapu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2764649 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
6249220e09
commit
30e7a5e5ed
@@ -198,6 +198,11 @@ int nvgpu_gsp_sched_bootstrap_ns(struct gk20a *g)
|
||||
goto de_init;
|
||||
}
|
||||
|
||||
/* setup gsp ctx instance */
|
||||
if (g->ops.gsp.falcon_setup_boot_config != NULL) {
|
||||
g->ops.gsp.falcon_setup_boot_config(g);
|
||||
}
|
||||
|
||||
status = gsp_sched_wait_for_init(g, gsp_sched, GSP_WAIT_TIME_MS);
|
||||
if (status != 0) {
|
||||
nvgpu_err(g, "gsp wait for basic init failed ");
|
||||
|
||||
Reference in New Issue
Block a user