diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/nvlink_gv100.h')
-rw-r--r-- | drivers/gpu/nvgpu/gv100/nvlink_gv100.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv100/nvlink_gv100.h b/drivers/gpu/nvgpu/gv100/nvlink_gv100.h index bf923d4b..d9a4b073 100644 --- a/drivers/gpu/nvgpu/gv100/nvlink_gv100.h +++ b/drivers/gpu/nvgpu/gv100/nvlink_gv100.h | |||
@@ -23,6 +23,8 @@ | |||
23 | #ifndef NVGPU_NVLINK_GV100_H | 23 | #ifndef NVGPU_NVLINK_GV100_H |
24 | #define NVGPU_NVLINK_GV100_H | 24 | #define NVGPU_NVLINK_GV100_H |
25 | 25 | ||
26 | #define GV100_CONNECTED_LINK_MASK 0x8 | ||
27 | |||
26 | struct gk20a; | 28 | struct gk20a; |
27 | 29 | ||
28 | int gv100_nvlink_discover_ioctrl(struct gk20a *g); | 30 | int gv100_nvlink_discover_ioctrl(struct gk20a *g); |
@@ -34,6 +36,7 @@ int gv100_nvlink_minion_send_command(struct gk20a *g, u32 link_id, u32 command, | |||
34 | int gv100_nvlink_setup_pll(struct gk20a *g, unsigned long link_mask); | 36 | int gv100_nvlink_setup_pll(struct gk20a *g, unsigned long link_mask); |
35 | int gv100_nvlink_minion_data_ready_en(struct gk20a *g, | 37 | int gv100_nvlink_minion_data_ready_en(struct gk20a *g, |
36 | unsigned long link_mask, bool sync); | 38 | unsigned long link_mask, bool sync); |
39 | void gv100_nvlink_get_connected_link_mask(u32 *link_mask); | ||
37 | /* API */ | 40 | /* API */ |
38 | int gv100_nvlink_link_early_init(struct gk20a *g, unsigned long mask); | 41 | int gv100_nvlink_link_early_init(struct gk20a *g, unsigned long mask); |
39 | u32 gv100_nvlink_link_get_mode(struct gk20a *g, u32 link_id); | 42 | u32 gv100_nvlink_link_get_mode(struct gk20a *g, u32 link_id); |