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
+7 -6
View File
@@ -84,12 +84,13 @@
#define EVGA_RTX3090TI_FTW3_ULTRA_GAMING_SUB_DEV 0x4985
struct card_info {
char *card_name;
char *pci_id;
unsigned short pci_device_id;
char *i2c_dev_path;
int i2c_fd;
int product_id;
char *card_name; /* The 'nice' name of the card */
char *pci_id; /* PCI bus address in domain:bus:device.function format. May be shortened (e.g. c:00.0) */
unsigned short pci_device_id; /* The device ID of the card, i.e. corresponds to the NVIDIA model number */
char *i2c_dev_path; /* Path to the i2c device file */
int i2c_fd; /* File descriptor for the i2c device file, for re-use */
int product_id; /* EVGA internal product ID, as reported by the iCX3 controller */
unsigned int bar0; /* Address of the card's PCI base address register */
};
struct gpu_pci_info {