mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: add queue support for gsp cmd/msg
implemented queue support which is needed for cmd/msg for managing CMDQ/MSGQ. In ga10b GSP, totally 4 CMDQ and 4 MSGQ supported. in current implementation we use only one CMDQ and one MSGQ. NVGPU-6784 Signed-off-by: Ramesh Mylavarapu <rmylavarapu@nvidia.com> Change-Id: Ib40ff9df6580e15824131dd6f54bfb85dce8e594 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2590678 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
8c455dff18
commit
085f94bf89
@@ -29,6 +29,8 @@
|
||||
#define GSP_DEBUG_BUFFER_QUEUE 3U
|
||||
#define GSP_DMESG_BUFFER_SIZE 0xC00U
|
||||
|
||||
#define GSP_QUEUE_NUM 2U
|
||||
|
||||
struct gsp_fw {
|
||||
/* gsp ucode */
|
||||
struct nvgpu_firmware *code;
|
||||
@@ -58,6 +60,8 @@ struct nvgpu_gsp {
|
||||
|
||||
struct gsp_sequences *sequences;
|
||||
|
||||
struct nvgpu_engine_mem_queue *queues[GSP_QUEUE_NUM];
|
||||
|
||||
#ifdef CONFIG_NVGPU_GSP_STRESS_TEST
|
||||
struct gsp_stress_test gsp_test;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user