Reuse memory mappings

This commit is contained in:
2025-02-21 11:26:17 -08:00
parent b7d22ed9ac
commit 20e2683110
2 changed files with 47 additions and 46 deletions
+2
View File
@@ -92,6 +92,8 @@ struct card_info {
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 */
void *nvml_device; /* Pointer to nvmlDevice_t for use in NVML calls */
void *vram_addr; /* Memory mapping for GDDR6 temps */
void *hotspot_addr; /* Memory mapping for hotspot temperature */
};
struct gpu_pci_info {