intel_extreme: Add some missing panel registers, masks, shifts
This commit is contained in:
parent
9cd46c7372
commit
b809fb52ed
@ -615,9 +615,7 @@ struct intel_free_graphics_memory {
|
||||
|
||||
// LVDS panel
|
||||
#define INTEL_PANEL_STATUS (0x1200 | REGS_NORTH_PIPE_AND_PORT)
|
||||
#define PANEL_STATUS_POWER_ON (1UL << 31)
|
||||
#define INTEL_PANEL_CONTROL (0x1204 | REGS_NORTH_PIPE_AND_PORT)
|
||||
#define PANEL_CONTROL_POWER_TARGET_ON (1UL << 0)
|
||||
#define INTEL_PANEL_FIT_CONTROL (0x1230 | REGS_NORTH_PIPE_AND_PORT)
|
||||
#define INTEL_PANEL_FIT_RATIOS (0x1234 | REGS_NORTH_PIPE_AND_PORT)
|
||||
|
||||
@ -627,9 +625,27 @@ struct intel_free_graphics_memory {
|
||||
#define PCH_PANEL_ON_DELAYS (0x7208 | REGS_SOUTH_SHARED)
|
||||
#define PCH_PANEL_OFF_DELAYS (0x720c | REGS_SOUTH_SHARED)
|
||||
#define PCH_PANEL_DIVISOR (0x7210 | REGS_SOUTH_SHARED)
|
||||
#define PANEL_REGISTER_UNLOCK (0xabcd << 16)
|
||||
#define PCH_LVDS_DETECTED (1 << 1)
|
||||
|
||||
#define PANEL_STATUS_POWER_ON (1UL << 31)
|
||||
#define PANEL_CONTROL_POWER_TARGET_OFF (0UL << 0)
|
||||
#define PANEL_CONTROL_POWER_TARGET_ON (1UL << 0)
|
||||
#define PANEL_CONTROL_POWER_TARGET_RST (1UL << 1)
|
||||
#define PANEL_REGISTER_UNLOCK (0xabcd << 16)
|
||||
|
||||
// PCH_PANEL_ON_DELAYS
|
||||
#define PANEL_DELAY_PORT_SELECT_MASK (3 << 30)
|
||||
#define PANEL_DELAY_PORT_SELECT_LVDS (0 << 30)
|
||||
#define PANEL_DELAY_PORT_SELECT_DPA (1 << 30)
|
||||
#define PANEL_DELAY_PORT_SELECT_DPC (2 << 30)
|
||||
#define PANEL_DELAY_PORT_SELECT_DPD (3 << 30)
|
||||
|
||||
// PCH_PANEL_DIVISOR
|
||||
#define PANEL_DIVISOR_REFERENCE_DIV_MASK 0xffffff00
|
||||
#define PANEL_DIVISOR_REFERENCE_DIV_SHIFT 8
|
||||
#define PANEL_DIVISOR_POW_CYCLE_DLY_MASK 0x1f
|
||||
#define PANEL_DIVISOR_POW_CYCLE_DLY_SHIFT 0x1f
|
||||
|
||||
// ring buffer commands
|
||||
|
||||
#define COMMAND_NOOP 0x00
|
||||
|
Loading…
x
Reference in New Issue
Block a user