diff options
author | Tejal Kudav <tkudav@nvidia.com> | 2018-06-03 06:40:17 -0400 |
---|---|---|
committer | Tejal Kudav <tkudav@nvidia.com> | 2018-06-14 09:44:07 -0400 |
commit | a3356b8ad7ce625c02d7679aefe64185c84fe9a7 (patch) | |
tree | a2124aa0e9ba9d131a3c126c2ed10eb817827c65 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 25fc64b944d12c007771efe24badda78be4e4cb7 (diff) |
gpu: nvgpu: nvlink: Add HAL for minion INIT* dlcmd
The sequence of INIT* minion dlcmd varies between nvlink 2.0 and 2.2.
The order is strict for 2.2. Also there are new dlcmds added to the
nvlink bringup sequence. Add HAL to allow sequence update for nvlink 2.2.
Old sequence:
INITLANEENABLE-> INITDLPL
New Sequence:
INITDLPL->INITDLPL_TO_CHIPA->INITTL->INITLANEENABLE
JIRA NVLINK-176
Change-Id: I49e0a726f56e7d6122ac4cddf0f0e021d16f1926
Signed-off-by: Tejal Kudav <tkudav@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1738329
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 74bb64b3..3b6c3660 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1198,6 +1198,8 @@ struct gpu_ops { | |||
1198 | int (*isr)(struct gk20a *g); | 1198 | int (*isr)(struct gk20a *g); |
1199 | int (*rxdet)(struct gk20a *g, u32 link_id); | 1199 | int (*rxdet)(struct gk20a *g, u32 link_id); |
1200 | int (*setup_pll)(struct gk20a *g, unsigned long link_mask); | 1200 | int (*setup_pll)(struct gk20a *g, unsigned long link_mask); |
1201 | int (*minion_data_ready_en)(struct gk20a *g, | ||
1202 | unsigned long link_mask, bool sync); | ||
1201 | /* API */ | 1203 | /* API */ |
1202 | int (*link_early_init)(struct gk20a *g, unsigned long mask); | 1204 | int (*link_early_init)(struct gk20a *g, unsigned long mask); |
1203 | u32 (*link_get_mode)(struct gk20a *g, u32 link_id); | 1205 | u32 (*link_get_mode)(struct gk20a *g, u32 link_id); |