Add support for thermal status queries on newer chipsets
* add temperature query support for Juniper, Sumo, Evergreen, and North Islands * add missing thermal defines for evergreen cards * northern island cards use the evergreen thermal calculations
This commit is contained in:
@@ -80,5 +80,18 @@
|
||||
#define EVERGREEN_SCRATCH_UMSK 0x8540
|
||||
#define EVERGREEN_SCRATCH_ADDR 0x8544
|
||||
|
||||
/* evergreen */
|
||||
#define EVERGREEN_CG_THERMAL_CTRL 0x72c
|
||||
#define EVERGREEN_TOFFSET_MASK 0x00003FE0
|
||||
#define EVERGREEN_TOFFSET_SHIFT 5
|
||||
#define EVERGREEN_CG_MULT_THERMAL_STATUS 0x740
|
||||
#define EVERGREEN_ASIC_T(x) ((x) << 16)
|
||||
#define EVERGREEN_ASIC_T_MASK 0x07FF0000
|
||||
#define EVERGREEN_ASIC_T_SHIFT 16
|
||||
#define EVERGREEN_CG_TS0_STATUS 0x760
|
||||
#define EVERGREEN_TS0_ADC_DOUT_MASK 0x000003FF
|
||||
#define EVERGREEN_TS0_ADC_DOUT_SHIFT 0
|
||||
/* APU */
|
||||
#define EVERGREEN_CG_THERMAL_STATUS 0x678
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user