added GPU hotspot temp as mentioned in #32

This commit is contained in:
Ole Algoritme
2025-04-18 13:02:15 +02:00
parent 3825f4246c
commit 136fed6ecf
2 changed files with 68 additions and 25 deletions

View File

@@ -9,13 +9,17 @@ struct device
uint32_t bar0;
uint8_t bus, dev, func;
uint32_t offset;
uint32_t hotspot_offset;
uint16_t dev_id;
const char *vram;
const char *arch;
const char *name;
void *mapped_addr;
void *hotspot_mapped_addr;
uint32_t phys_addr;
uint32_t hotspot_phys_addr;
uint32_t base_offset;
uint32_t hotspot_base_offset;
};
struct gddr6_ctx {