Added support for reading VRAM and HotSpot temperatures.

This commit is contained in:
2025-02-03 06:15:26 -08:00
parent 54885e16f0
commit 8d4a8f7ee1
11 changed files with 200 additions and 34 deletions
+1
View File
@@ -67,6 +67,7 @@ int find_evga_gpu_i2cs(struct card_info *infos, int max_gpus)
/* Write our card info into the provided struct array */
infos[num_gpus].card_name = evga_pci_ids[i].card_name;
infos[num_gpus].pci_id = pci_addr;
infos[num_gpus].pci_device_id = pci_device;
infos[num_gpus].i2c_dev_path = calloc(strlen(dev_file) + 1, sizeof(char));
strcpy(infos[num_gpus].i2c_dev_path, dev_file);
num_gpus++;