https://bugs.freedesktop.org/show_bug.cgi?id=73338
--- Comment #56 from Chernovsky Oleg adonai@xaker.ru --- And another one:
#define CG_FDO_CTRL0 0xC0300064 #define FDO_STATIC_DUTY(x) ((x) << 0) #define FDO_STATIC_DUTY_MASK 0x0000000F #define FDO_STATIC_DUTY_SHIFT 0 #define CG_FDO_CTRL1 0xC0300068 #define FMAX_DUTY100(x) ((x) << 0) #define FMAX_DUTY100_MASK 0x0000000F #define FMAX_DUTY100_SHIFT 0
I see the values like this on my BONAIRE:
W 4 587.343959 2 0xf0800200 0xc0300068 0x0 0 // it's CG_FDO_CTRL1 R 4 587.343962 2 0xf0800204 0x40252f87 0x0 0 W 4 580.364670 2 0xf0800200 0xc0300064 0x0 0 // CG_FDO_CTRL0 W 4 580.364671 2 0xf0800204 0x1814351 0x0 0 // I'm setting speed 50% W 4 594.360662 2 0xf0800200 0xc0300064 0x0 0 // CG_FDO_CTRL0 again W 4 594.360663 2 0xf0800204 0x1814387 0x0 0 // I'm setting speed 100%
Are you sure the FDO_STATIC_DUTY_MASK and FMAX_DUTY100_MASK is 0xF and not 0xFF?