aboutsummaryrefslogtreecommitdiffstats
path: root/nvdebug_entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'nvdebug_entry.c')
-rw-r--r--nvdebug_entry.c5
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);