[SPM] Clean up obsolete SPM logics and refine some SPM-related definition (#157)

* Clean up obsolete SPM logics
* Add PERFCOUNTER_SELECT1 to CounterRegInfo
* Add RLC_SPM_PERFMON_SAMPLE_DELAY_MAX
Tento commit je obsažen v:
Ma, Bing authored and GitHub committed 2025-07-18 15:26:44 -07:00
1 rodič fdedcfc81c
revize 6f236ffb5f
20 files changed
+546 -1224

No files matched your search

+6 -2
Zobrazit soubor
@@ -80,13 +80,17 @@ struct CounterRegInfo {
Register register_addr_lo;
// counter register address high
Register register_addr_hi;
// counter select1 register address (for SPM)
Register select1_addr;
};
struct BlockDelayInfo {
Register reg;
uint32_t val;
const uint32_t* val; // Layout: val[SA][SE][instance]
};
#define BLOCK_DELAY_NONE { REG_32B_NULL, nullptr }
struct counter_des_t;
// GPU Block info definition
@@ -108,7 +112,7 @@ struct GpuBlockInfo {
// Block attributes mask
uint32_t attr;
// Block delay info
const BlockDelayInfo* delay_info;
BlockDelayInfo delay_info;
// SPM block id
uint32_t spm_block_id;
};