Commit ff4b4af1 authored by Alex Deucher's avatar Alex Deucher

drm/radeon: fix typo in new fan control registers for SI/CI

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent c1f0a9c2
...@@ -213,18 +213,18 @@ ...@@ -213,18 +213,18 @@
#define CG_FDO_CTRL0 0xC0300064 #define CG_FDO_CTRL0 0xC0300064
#define FDO_STATIC_DUTY(x) ((x) << 0) #define FDO_STATIC_DUTY(x) ((x) << 0)
#define FDO_STATIC_DUTY_MASK 0x0000000F #define FDO_STATIC_DUTY_MASK 0x000000FF
#define FDO_STATIC_DUTY_SHIFT 0 #define FDO_STATIC_DUTY_SHIFT 0
#define CG_FDO_CTRL1 0xC0300068 #define CG_FDO_CTRL1 0xC0300068
#define FMAX_DUTY100(x) ((x) << 0) #define FMAX_DUTY100(x) ((x) << 0)
#define FMAX_DUTY100_MASK 0x0000000F #define FMAX_DUTY100_MASK 0x000000FF
#define FMAX_DUTY100_SHIFT 0 #define FMAX_DUTY100_SHIFT 0
#define CG_FDO_CTRL2 0xC030006C #define CG_FDO_CTRL2 0xC030006C
#define TMIN(x) ((x) << 0) #define TMIN(x) ((x) << 0)
#define TMIN_MASK 0x0000000F #define TMIN_MASK 0x000000FF
#define TMIN_SHIFT 0 #define TMIN_SHIFT 0
#define FDO_PWM_MODE(x) ((x) << 11) #define FDO_PWM_MODE(x) ((x) << 11)
#define FDO_PWM_MODE_MASK (3 << 11) #define FDO_PWM_MODE_MASK (7 << 11)
#define FDO_PWM_MODE_SHIFT 11 #define FDO_PWM_MODE_SHIFT 11
#define TACH_PWM_RESP_RATE(x) ((x) << 25) #define TACH_PWM_RESP_RATE(x) ((x) << 25)
#define TACH_PWM_RESP_RATE_MASK (0x7f << 25) #define TACH_PWM_RESP_RATE_MASK (0x7f << 25)
......
...@@ -208,18 +208,18 @@ ...@@ -208,18 +208,18 @@
#define CG_FDO_CTRL0 0x754 #define CG_FDO_CTRL0 0x754
#define FDO_STATIC_DUTY(x) ((x) << 0) #define FDO_STATIC_DUTY(x) ((x) << 0)
#define FDO_STATIC_DUTY_MASK 0x0000000F #define FDO_STATIC_DUTY_MASK 0x000000FF
#define FDO_STATIC_DUTY_SHIFT 0 #define FDO_STATIC_DUTY_SHIFT 0
#define CG_FDO_CTRL1 0x758 #define CG_FDO_CTRL1 0x758
#define FMAX_DUTY100(x) ((x) << 0) #define FMAX_DUTY100(x) ((x) << 0)
#define FMAX_DUTY100_MASK 0x0000000F #define FMAX_DUTY100_MASK 0x000000FF
#define FMAX_DUTY100_SHIFT 0 #define FMAX_DUTY100_SHIFT 0
#define CG_FDO_CTRL2 0x75C #define CG_FDO_CTRL2 0x75C
#define TMIN(x) ((x) << 0) #define TMIN(x) ((x) << 0)
#define TMIN_MASK 0x0000000F #define TMIN_MASK 0x000000FF
#define TMIN_SHIFT 0 #define TMIN_SHIFT 0
#define FDO_PWM_MODE(x) ((x) << 11) #define FDO_PWM_MODE(x) ((x) << 11)
#define FDO_PWM_MODE_MASK (3 << 11) #define FDO_PWM_MODE_MASK (7 << 11)
#define FDO_PWM_MODE_SHIFT 11 #define FDO_PWM_MODE_SHIFT 11
#define TACH_PWM_RESP_RATE(x) ((x) << 25) #define TACH_PWM_RESP_RATE(x) ((x) << 25)
#define TACH_PWM_RESP_RATE_MASK (0x7f << 25) #define TACH_PWM_RESP_RATE_MASK (0x7f << 25)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment