diff options
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 363f66ca5d33..f39ac3a0fa93 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h | |||
@@ -1566,7 +1566,17 @@ | |||
1566 | 1566 | ||
1567 | /* Backlight control */ | 1567 | /* Backlight control */ |
1568 | #define BLC_PWM_CTL 0x61254 | 1568 | #define BLC_PWM_CTL 0x61254 |
1569 | #define BACKLIGHT_MODULATION_FREQ_SHIFT (17) | ||
1569 | #define BLC_PWM_CTL2 0x61250 /* 965+ only */ | 1570 | #define BLC_PWM_CTL2 0x61250 /* 965+ only */ |
1571 | #define BLM_COMBINATION_MODE (1 << 30) | ||
1572 | /* | ||
1573 | * This is the most significant 15 bits of the number of backlight cycles in a | ||
1574 | * complete cycle of the modulated backlight control. | ||
1575 | * | ||
1576 | * The actual value is this field multiplied by two. | ||
1577 | */ | ||
1578 | #define BACKLIGHT_MODULATION_FREQ_MASK (0x7fff << 17) | ||
1579 | #define BLM_LEGACY_MODE (1 << 16) | ||
1570 | /* | 1580 | /* |
1571 | * This is the number of cycles out of the backlight modulation cycle for which | 1581 | * This is the number of cycles out of the backlight modulation cycle for which |
1572 | * the backlight is on. | 1582 | * the backlight is on. |