diff options
author | Tejal Kudav <tkudav@nvidia.com> | 2018-08-08 07:06:10 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-22 11:04:00 -0400 |
commit | 2b2b4f9b14fdd4448200546f2a47d2603df30e38 (patch) | |
tree | b0eb58bbd17b628fbf13bf25033fe4942918b062 /drivers/gpu/nvgpu/gv100/nvlink_gv100.c | |
parent | e988951ccab1031022ac354bbe8f53e1dc849b7a (diff) |
gpu: nvgpu: Remove falcon header usage in nvlink
For nvlink, we need to use minion registers instead of
generic falcon registers.
JIRA NVGPU-966
Change-Id: I850d2e2a4475394c37d2253c5034713c78439bd0
Signed-off-by: Tejal Kudav <tkudav@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1795086
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/nvlink_gv100.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv100/nvlink_gv100.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv100/nvlink_gv100.c b/drivers/gpu/nvgpu/gv100/nvlink_gv100.c index b51fc6fa..6d6fb4fd 100644 --- a/drivers/gpu/nvgpu/gv100/nvlink_gv100.c +++ b/drivers/gpu/nvgpu/gv100/nvlink_gv100.c | |||
@@ -34,7 +34,6 @@ | |||
34 | #include "gk20a/gk20a.h" | 34 | #include "gk20a/gk20a.h" |
35 | #include "nvlink_gv100.h" | 35 | #include "nvlink_gv100.h" |
36 | 36 | ||
37 | #include <nvgpu/hw/gv100/hw_falcon_gv100.h> | ||
38 | #include <nvgpu/hw/gv100/hw_top_gv100.h> | 37 | #include <nvgpu/hw/gv100/hw_top_gv100.h> |
39 | #include <nvgpu/hw/gv100/hw_nvlinkip_discovery_gv100.h> | 38 | #include <nvgpu/hw/gv100/hw_nvlinkip_discovery_gv100.h> |
40 | #include <nvgpu/hw/gv100/hw_nvlipt_gv100.h> | 39 | #include <nvgpu/hw/gv100/hw_nvlipt_gv100.h> |
@@ -329,7 +328,7 @@ static bool gv100_nvlink_minion_falcon_isr(struct gk20a *g) | |||
329 | if (!intr) | 328 | if (!intr) |
330 | return true; | 329 | return true; |
331 | 330 | ||
332 | if (intr & falcon_falcon_irqstat_exterr_true_f()) { | 331 | if (intr & minion_falcon_irqstat_exterr_true_f()) { |
333 | nvgpu_err(g, "FALCON EXT ADDR: 0x%x 0x%x 0x%x", | 332 | nvgpu_err(g, "FALCON EXT ADDR: 0x%x 0x%x 0x%x", |
334 | MINION_REG_RD32(g, 0x244), | 333 | MINION_REG_RD32(g, 0x244), |
335 | MINION_REG_RD32(g, 0x248), | 334 | MINION_REG_RD32(g, 0x248), |