intel_extreme: backlight control on pre-PCH devices
Thanks to oco for letting me test this on his old laptop.
This commit is contained in:
@@ -812,9 +812,11 @@ struct intel_free_graphics_memory {
|
||||
#define PANEL_DIVISOR_POW_CYCLE_DLY_SHIFT 0x1f
|
||||
|
||||
// Backlight control registers
|
||||
#define INTEL_BLC_PWM_CTL2 (0x8250 | REGS_NORTH_SHARED)
|
||||
#define INTEL_BLC_PWM_CTL (0x8254 | REGS_NORTH_SHARED)
|
||||
#define INTEL_SBLC_PWM_CTL2 (0x8254 | REGS_SOUTH_SHARED)
|
||||
#define PCH_BLC_PWM_CTL2 (0x8250 | REGS_NORTH_SHARED)
|
||||
#define PCH_BLC_PWM_CTL (0x8254 | REGS_NORTH_SHARED)
|
||||
#define PCH_SBLC_PWM_CTL2 (0x8254 | REGS_SOUTH_SHARED)
|
||||
|
||||
#define MCH_BLC_PWM_CTL (0x1254 | REGS_NORTH_PIPE_AND_PORT)
|
||||
|
||||
// ring buffer commands
|
||||
|
||||
|
||||
Reference in New Issue
Block a user