From 14cb76b1a7e93a5f3900ea7696071dcc281a3586 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Mon, 8 Apr 2024 15:04:31 -0400 Subject: Add Jetson TX1 support --- nvdebug_entry.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) { // Search for GP10B (Jetson TX2) while (!dev && (temp_dev = bus_find_device_by_name(&platform_bus_type, dev, "17000000.gp10b"))) dev = temp_dev; - // TODO: Support other platform bus devices (gk20a - TK1, gm20b - TX1) + // Search for GM10A (Jetson TX1) + while (!dev && (temp_dev = bus_find_device_by_name(&platform_bus_type, dev, "57000000.gpu"))) + dev = temp_dev; + // TODO: Support other platform bus devices (gk20a - TK1) if (dev) { mc_boot_0_t ids; g_nvdebug_state[i].g = get_gk20a(dev); -- cgit v1.2.2