diff options
author | Joshua Bakita <jbakita@cs.unc.edu> | 2024-04-08 15:04:31 -0400 |
---|---|---|
committer | Joshua Bakita <jbakita@cs.unc.edu> | 2024-04-08 15:04:31 -0400 |
commit | 14cb76b1a7e93a5f3900ea7696071dcc281a3586 (patch) | |
tree | 523685f3e7401725b72e01e1787248512d236c45 | |
parent | 6a89ea5912619af9a9682b9ab39be43f411fb984 (diff) |
Add Jetson TX1 support
-rw-r--r-- | nvdebug_entry.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nvdebug_entry.c b/nvdebug_entry.c index ed82e58..7593a3a 100644 --- a/nvdebug_entry.c +++ b/nvdebug_entry.c | |||
@@ -90,7 +90,10 @@ int probe_and_cache_device(void) { | |||
90 | // Search for GP10B (Jetson TX2) | 90 | // Search for GP10B (Jetson TX2) |
91 | while (!dev && (temp_dev = bus_find_device_by_name(&platform_bus_type, dev, "17000000.gp10b"))) | 91 | while (!dev && (temp_dev = bus_find_device_by_name(&platform_bus_type, dev, "17000000.gp10b"))) |
92 | dev = temp_dev; | 92 | dev = temp_dev; |
93 | // TODO: Support other platform bus devices (gk20a - TK1, gm20b - TX1) | 93 | // Search for GM10A (Jetson TX1) |
94 | while (!dev && (temp_dev = bus_find_device_by_name(&platform_bus_type, dev, "57000000.gpu"))) | ||
95 | dev = temp_dev; | ||
96 | // TODO: Support other platform bus devices (gk20a - TK1) | ||
94 | if (dev) { | 97 | if (dev) { |
95 | mc_boot_0_t ids; | 98 | mc_boot_0_t ids; |
96 | g_nvdebug_state[i].g = get_gk20a(dev); | 99 | g_nvdebug_state[i].g = get_gk20a(dev); |