mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: falcon bootstrap support
- Added falcon interface/HAL to bootstrap falcon by taking boot vector as parameter - Replaced falcon bootstrap code in multiple files with nvgpu_flcn_bootstrap() method JIRA NVGPU-102 Change-Id: I4324824c50c6196d8b7ecf981f815ec778da2fd9 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: https://git-master/r/1513643 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
3afac13d66
commit
79a79b8ae6
@@ -146,6 +146,7 @@ struct nvgpu_falcon_ops {
|
||||
u32 (*mailbox_read)(struct nvgpu_falcon *flcn, u32 mailbox_index);
|
||||
void (*mailbox_write)(struct nvgpu_falcon *flcn, u32 mailbox_index,
|
||||
u32 data);
|
||||
int (*bootstrap)(struct nvgpu_falcon *flcn, u32 boot_vector);
|
||||
void (*dump_falcon_stats)(struct nvgpu_falcon *flcn);
|
||||
};
|
||||
|
||||
@@ -187,6 +188,7 @@ int nvgpu_flcn_dma_copy(struct nvgpu_falcon *flcn,
|
||||
u32 nvgpu_flcn_mailbox_read(struct nvgpu_falcon *flcn, u32 mailbox_index);
|
||||
void nvgpu_flcn_mailbox_write(struct nvgpu_falcon *flcn, u32 mailbox_index,
|
||||
u32 data);
|
||||
int nvgpu_flcn_bootstrap(struct nvgpu_falcon *flcn, u32 boot_vector);
|
||||
void nvgpu_flcn_dump_stats(struct nvgpu_falcon *flcn);
|
||||
|
||||
void nvgpu_flcn_sw_init(struct gk20a *g, u32 flcn_id);
|
||||
|
||||
Reference in New Issue
Block a user