diff options
author | Eric Anholt <eric@anholt.net> | 2007-03-13 16:55:38 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-03-13 16:59:38 -0700 |
commit | 44708bdd9ebfef0328302c9a964b80deb46e57c6 (patch) | |
tree | d0006b7e5938036e4c701ac2ac0579092f809344 /src/i830_sdvo_regs.h | |
parent | 5135b3a79f9c30ebce78c84c49846bba83607fed (diff) |
Get SDVO DPMS working on the Mac Mini by writing SDVOB and SDVOC together.
Also, add code for setting the encoder power state like the BIOS does, but this
doesn't appear to work. We do much more than the BIOS does in powering things
down, so perhaps that's interfering somehow.
Diffstat (limited to 'src/i830_sdvo_regs.h')
-rw-r--r-- | src/i830_sdvo_regs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/i830_sdvo_regs.h b/src/i830_sdvo_regs.h index 59b2aa89..437ff503 100644 --- a/src/i830_sdvo_regs.h +++ b/src/i830_sdvo_regs.h @@ -307,6 +307,14 @@ struct i830_sdvo_set_target_input_args { #define SDVO_CMD_SET_TV_FORMAT 0x29 +#define SDVO_CMD_GET_SUPPORTED_POWER_STATES 0x2a +#define SDVO_CMD_GET_ENCODER_POWER_STATE 0x2b +#define SDVO_CMD_SET_ENCODER_POWER_STATE 0x2c +# define SDVO_ENCODER_STATE_ON (1 << 0) +# define SDVO_ENCODER_STATE_STANDBY (1 << 1) +# define SDVO_ENCODER_STATE_SUSPEND (1 << 2) +# define SDVO_ENCODER_STATE_OFF (1 << 3) + #define SDVO_CMD_SET_TV_RESOLUTION_SUPPORT 0x93 #define SDVO_CMD_SET_CONTROL_BUS_SWITCH 0x7a |