Blend = CSync =  TRUE;
Blend =  TRUE;
ATIProcessOptions(    ScrnInfoPtr pScreenInfo,    ATIPtr      pATI){    OptionInfoPtr PublicOption = xnfalloc(ATIPublicOptionSize);    OptionInfoRec PrivateOption[] =    {        {                       /* ON:   Ease exploration of loose ends */            ATI_OPTION_DEVEL,   /* OFF:  Fit for public consumption */            "tsi",            OPTV_BOOLEAN,            {0, },            FALSE        },        {                       /* ON:   Use XF86Config porch timings */            ATI_OPTION_SYNC,    /* OFF:  Use porches from mode on entry */            "lcdsync",            OPTV_BOOLEAN,            {0, },            FALSE        },        {                       /* ON:   Horizontally blend most modes */            ATI_OPTION_BLEND,   /* OFF:  Use pixel replication more often */            "lcdblend",            OPTV_BOOLEAN,            {0, },            FALSE        },        {            -1,            NULL,            OPTV_NONE,            {0, },            FALSE        }    };    (void)memcpy(PublicOption, ATIPublicOptions, ATIPublicOptionSize);#   define Accel       PublicOption[ATI_OPTION_ACCEL].value.bool#   define Blend       PrivateOption[ATI_OPTION_BLEND].value.bool#   define CRTScreen   PublicOption[ATI_OPTION_CRT].value.bool#   define CSync       PublicOption[ATI_OPTION_CSYNC].value.bool#   define Devel       PrivateOption[ATI_OPTION_DEVEL].value.bool#   define HWCursor    PublicOption[ATI_OPTION_HWCURSOR].value.bool#ifndef AVOID_CPIO#   define Linear      PublicOption[ATI_OPTION_LINEAR].value.bool#endif /* AVOID_CPIO */#   define CacheMMIO   PublicOption[ATI_OPTION_MMIO_CACHE].value.bool#   define ProbeClocks PublicOption[ATI_OPTION_PROBE_CLOCKS].value.bool#   define ShadowFB    PublicOption[ATI_OPTION_SHADOW_FB].value.bool#   define SWCursor    PublicOption[ATI_OPTION_SWCURSOR].value.bool#   define Sync        PrivateOption[ATI_OPTION_SYNC].value.bool#   define ReferenceClock \        PublicOption[ATI_OPTION_REFERENCE_CLOCK].value.freq.freq    /* Pick up XF86Config options */    xf86CollectOptions(pScreenInfo, NULL);    /* Set non-zero defaults */#ifndef AVOID_CPIO    if (pATI->Adapter >= ATI_ADAPTER_MACH64)#endif /* AVOID_CPIO */    {        Accel = CacheMMIO = HWCursor = TRUE;#ifndef AVOID_CPIO        Linear = TRUE;#endif /* AVOID_CPIO */    }    ReferenceClock = ((double)157500000.0) / ((double)11.0);#ifndef AVOID_CPIO    if (pATI->PCIInfo)#endif /* AVOID_CPIO */    {        ShadowFB = TRUE;    }    Blend = CSync = /* Sync = */ TRUE;    xf86ProcessOptions(pScreenInfo->scrnIndex, pScreenInfo->options,        PublicOption);    xf86ProcessOptions(pScreenInfo->scrnIndex, pScreenInfo->options,        PrivateOption);#ifndef AVOID_CPIO    /* Disable linear apertures if the OS doesn't support them */    if (!xf86LinearVidMem() && Linear)    {        if (PublicOption[ATI_OPTION_LINEAR].found)            xf86DrvMsg(pScreenInfo->scrnIndex, X_WARNING,                "OS does not support linear apertures.\n");        Linear = FALSE;    }#endif /* AVOID_CPIO */    /* Move option values into driver private structure */    pATI->OptionAccel = Accel;    pATI->OptionBlend = Blend;    pATI->OptionCRT = CRTScreen;    pATI->OptionCSync = CSync;    pATI->OptionDevel = Devel;#ifndef AVOID_CPIO    pATI->OptionLinear = Linear;#endif /* AVOID_CPIO */    pATI->OptionMMIOCache = CacheMMIO;    pATI->OptionProbeClocks = ProbeClocks;    pATI->OptionShadowFB = ShadowFB;    pATI->OptionSync = Sync;    /* Validate and set cursor options */    pATI->Cursor = ATI_CURSOR_SOFTWARE;    if (SWCursor || !HWCursor)    {        if (HWCursor && PublicOption[ATI_OPTION_HWCURSOR].found)            xf86DrvMsg(pScreenInfo->scrnIndex, X_WARNING,                "Option \"sw_cursor\" overrides Option \"hw_cursor\".\n");    }    else if (pATI->Chip < ATI_CHIP_264CT)    {        if (HWCursor && PublicOption[ATI_OPTION_HWCURSOR].found)            xf86DrvMsg(pScreenInfo->scrnIndex, X_WARNING,                "Option \"hw_cursor\" not supported in this configuration.\n");    }    else    {        pATI->Cursor = ATI_CURSOR_HARDWARE;    }    /* Only set the reference clock if it hasn't already been determined */    if (!pATI->ReferenceNumerator || !pATI->ReferenceDenominator)    {        switch ((int)(ReferenceClock / ((double)100000.0)))        {            case 143:                pATI->ReferenceNumerator = 157500;                pATI->ReferenceDenominator = 11;                break;            case 286:                pATI->ReferenceNumerator = 315000;                pATI->ReferenceDenominator = 11;                break;            default:                pATI->ReferenceNumerator =                    (int)(ReferenceClock / ((double)1000.0));                pATI->ReferenceDenominator = 1;                break;        }    }    xfree(PublicOption);}