summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-03-21 21:36:57 +1100
committerDave Airlie <airlied@linux.ie>2006-06-02 10:01:32 +1000
commitbc81ca7e324f6876191c1edb21aeb37542eed8a6 (patch)
tree366e0320b7bb05f2e731b964be83dbce204dd5a5 /src/i830_driver.c
parent015a5129874582161c867c1f00d1f9b730ded9a3 (diff)
rename I2C to DVO
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 5ffb7417..3defa90b 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -1046,16 +1046,16 @@ GetDisplayDevices(ScrnInfoPtr pScrn)
{
switch(pI830->output[i].i2c_drv->type)
{
- case I830_I2C_CHIP_LVDS:
+ case I830_DVO_CHIP_LVDS:
ret |= PIPE_LFP;
break;
- case I830_I2C_CHIP_TMDS:
+ case I830_DVO_CHIP_TMDS:
ret |= PIPE_DFP;
break;
- case I830_I2C_CHIP_TVOUT:
+ case I830_DVO_CHIP_TVOUT:
ret |= PIPE_TV;
break;
- case I830_I2C_CHIP_NONE:
+ case I830_DVO_CHIP_NONE:
default:
break;
}
@@ -2280,22 +2280,18 @@ I830SetupOutputBusses(ScrnInfoPtr pScrn)
case PCI_CHIP_845_G:
case PCI_CHIP_I855_GM:
case PCI_CHIP_I865_G:
- /* i865 has a single analog*/
pI830->num_outputs = 2;
pI830->output[1].type = I830_OUTPUT_DVO;
I830I2CInit(pScrn, &pI830->output[1].pDDCBus, GPIOD, "DVODDC_D");
I830I2CInit(pScrn, &pI830->output[1].pI2CBus, GPIOE, "DVOI2C_E");
break;
case PCI_CHIP_I915_G:
- /* has 2 SDVOs */
case PCI_CHIP_E7221_G:
case PCI_CHIP_I915_GM:
/* has some LVDS + tv-out */
case PCI_CHIP_I945_G:
- /* has 2 SDVOs */
case PCI_CHIP_I945_GM:
- /* be careful there is some hardcoding of SDVO to output 1
- need to revisit PIPE mappings */
+ /* SDVO ports have a single control bus */
pI830->num_outputs = 2;
pI830->output[1].type = I830_OUTPUT_SDVO;
I830I2CInit(pScrn, &pI830->output[1].pI2CBus, GPIOE, "SDVOCTRL_E");