diff options
author | Keith Packard <keithp@dulcimer.keithp.com> | 2007-05-17 15:00:12 -0700 |
---|---|---|
committer | Keith Packard <keithp@dulcimer.keithp.com> | 2007-05-17 15:00:12 -0700 |
commit | e89d5f275442915cc7777e75d3fcf7e7ed0f2084 (patch) | |
tree | 26ea06fdb3af64ce40003c234e9ba9b3e5dfecb0 /src/i830.h | |
parent | a441954630c6cdabbf463bfc3404160f97a04b4f (diff) |
Make each output control clones/crtcs. Split DVO into LVDS, TMDS, TV.
Move clone/crtc config into each output where it's easier to understand (no
need for a switch statement in I830PrepareOutputs. Also, split DVO into
three sub-types (TMDS, LVDS, TVOUT) as those have different cloning
abilities.
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -191,15 +191,12 @@ typedef struct { external chips are via DVO or SDVO output */ #define I830_OUTPUT_UNUSED 0 #define I830_OUTPUT_ANALOG 1 -#define I830_OUTPUT_DVO 2 -#define I830_OUTPUT_SDVO 3 -#define I830_OUTPUT_LVDS 4 -#define I830_OUTPUT_TVOUT 5 - -#define I830_DVO_CHIP_NONE 0 -#define I830_DVO_CHIP_LVDS 1 -#define I830_DVO_CHIP_TMDS 2 -#define I830_DVO_CHIP_TVOUT 4 +#define I830_OUTPUT_DVO_TMDS 2 +#define I830_OUTPUT_DVO_LVDS 3 +#define I830_OUTPUT_DVO_TVOUT 4 +#define I830_OUTPUT_SDVO 5 +#define I830_OUTPUT_LVDS 6 +#define I830_OUTPUT_TVOUT 7 struct _I830DVODriver { int type; @@ -246,6 +243,8 @@ typedef struct _I830OutputPrivateRec { I2CBusPtr pDDCBus; struct _I830DVODriver *i2c_drv; Bool load_detect_temp; + int pipe_mask; + int clone_mask; /** Output-private structure. Should replace i2c_drv */ void *dev_priv; } I830OutputPrivateRec, *I830OutputPrivatePtr; |