diff --git a/src/radeon_video.c b/src/radeon_video.c index 6249cea..c380d26 100644 --- a/src/radeon_video.c +++ b/src/radeon_video.c @@ -1288,6 +1288,7 @@ RADEONResetVideo(ScrnInfoPtr pScrn) RADEONSetOverlayGamma(pScrn, 0); /* gamma = 1.0 */ +#if 0 if(pPriv->VIP!=NULL){ RADEONVIP_reset(pScrn,pPriv); } @@ -1300,6 +1301,7 @@ RADEONResetVideo(ScrnInfoPtr pScrn) if(pPriv->i2c != NULL){ RADEONResetI2C(pScrn, pPriv); } +#endif } static void RADEONSetupTheatre(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) @@ -1473,7 +1475,7 @@ RADEONAllocAdaptor(ScrnInfoPtr pScrn) OUTPLL(pScrn, RADEON_VCLK_ECP_CNTL, ecp); - +#if 0 /* Decide on tuner type */ if((info->tunerType<0) && (info->MM_TABLE_valid)) { pPriv->tuner_type = info->MM_TABLE.tuner_type; @@ -1484,7 +1486,7 @@ RADEONAllocAdaptor(ScrnInfoPtr pScrn) RADEONInitI2C(pScrn, pPriv); if(pPriv->i2c != NULL)RADEON_board_setmisc(pPriv); - +#endif #if 0 /* this is just here for easy debugging - normally off */ xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Scanning I2C Bus\n"); for(i=0;i<255;i+=2) @@ -1496,11 +1498,13 @@ RADEONAllocAdaptor(ScrnInfoPtr pScrn) * we don't support video in on any mobility chips at the moment anyway */ /* Initialize VIP bus */ +#if 0 if (!info->IsMobility) RADEONVIP_init(pScrn, pPriv); - +#endif info->adaptor = adapt; +#if 0 if(!xf86LoadSubModule(pScrn,"theatre_detect")) { xf86DrvMsg(pScrn->scrnIndex,X_ERROR,"Unable to load Rage Theatre detect module\n"); @@ -1571,6 +1575,7 @@ RADEONAllocAdaptor(ScrnInfoPtr pScrn) RADEON_RT_SetEncoding(pScrn, pPriv); } +#endif skip_theatre: return adapt;