diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/sislands_smc.h')
-rw-r--r-- | drivers/gpu/drm/radeon/sislands_smc.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/sislands_smc.h b/drivers/gpu/drm/radeon/sislands_smc.h index 623a0b1e2d9d..3c779838d9ab 100644 --- a/drivers/gpu/drm/radeon/sislands_smc.h +++ b/drivers/gpu/drm/radeon/sislands_smc.h | |||
@@ -245,6 +245,31 @@ typedef struct SISLANDS_SMC_STATETABLE SISLANDS_SMC_STATETABLE; | |||
245 | #define SI_SMC_SOFT_REGISTER_svi_rework_gpio_id_svd 0x11c | 245 | #define SI_SMC_SOFT_REGISTER_svi_rework_gpio_id_svd 0x11c |
246 | #define SI_SMC_SOFT_REGISTER_svi_rework_gpio_id_svc 0x120 | 246 | #define SI_SMC_SOFT_REGISTER_svi_rework_gpio_id_svc 0x120 |
247 | 247 | ||
248 | struct PP_SIslands_FanTable | ||
249 | { | ||
250 | uint8_t fdo_mode; | ||
251 | uint8_t padding; | ||
252 | int16_t temp_min; | ||
253 | int16_t temp_med; | ||
254 | int16_t temp_max; | ||
255 | int16_t slope1; | ||
256 | int16_t slope2; | ||
257 | int16_t fdo_min; | ||
258 | int16_t hys_up; | ||
259 | int16_t hys_down; | ||
260 | int16_t hys_slope; | ||
261 | int16_t temp_resp_lim; | ||
262 | int16_t temp_curr; | ||
263 | int16_t slope_curr; | ||
264 | int16_t pwm_curr; | ||
265 | uint32_t refresh_period; | ||
266 | int16_t fdo_max; | ||
267 | uint8_t temp_src; | ||
268 | int8_t padding2; | ||
269 | }; | ||
270 | |||
271 | typedef struct PP_SIslands_FanTable PP_SIslands_FanTable; | ||
272 | |||
248 | #define SMC_SISLANDS_LKGE_LUT_NUM_OF_TEMP_ENTRIES 16 | 273 | #define SMC_SISLANDS_LKGE_LUT_NUM_OF_TEMP_ENTRIES 16 |
249 | #define SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES 32 | 274 | #define SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES 32 |
250 | 275 | ||