diff options
author | Owain G. Ainsworth <zerooa@googlemail.com> | 2010-04-19 04:05:34 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-21 10:34:20 +1000 |
commit | c4b46f56279cc18c8114235ca41cfb41ffede67f (patch) | |
tree | 293168ed30ac3078c770bad4e41d34ec41835bc1 /src/radeon_driver.c | |
parent | 03b34c5fb12c4df180d4df113d2b654f6afd7230 (diff) |
Remove remnants of the ShowCache option.
The rest of it died a long time ago.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r-- | src/radeon_driver.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 0aaf82bb..ac1d022a 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -181,7 +181,6 @@ static const OptionInfoRec RADEONOptions[] = { { OPTION_RENDER_ACCEL, "RenderAccel", OPTV_BOOLEAN, {0}, FALSE }, { OPTION_SUBPIXEL_ORDER, "SubPixelOrder", OPTV_ANYSTR, {0}, FALSE }, #endif - { OPTION_SHOWCACHE, "ShowCache", OPTV_BOOLEAN, {0}, FALSE }, { OPTION_CLOCK_GATING, "ClockGating", OPTV_BOOLEAN, {0}, FALSE }, { OPTION_VGA_ACCESS, "VGAAccess", OPTV_BOOLEAN, {0}, TRUE }, { OPTION_REVERSE_DDC, "ReverseDDC", OPTV_BOOLEAN, {0}, FALSE }, @@ -2070,11 +2069,6 @@ static Bool RADEONPreInitChipType(ScrnInfoPtr pScrn) } } #endif - xf86GetOptValBool(info->Options, OPTION_SHOWCACHE, &info->showCache); - if (info->showCache) - xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, - "Option ShowCache enabled\n"); - #ifdef RENDER info->RenderAccel = xf86ReturnOptValBool(info->Options, OPTION_RENDER_ACCEL, info->Chipset != PCI_CHIP_RN50_515E && @@ -5630,15 +5624,6 @@ void RADEONDoAdjustFrame(ScrnInfoPtr pScrn, int x, int y, Bool crtc2) "RADEONDoAdjustFrame(%d,%d,%d)\n", x, y, clone); #endif - if (info->showCache && y) { - int lastline = info->FbMapSize / - ((pScrn->displayWidth * pScrn->bitsPerPixel) / 8); - - lastline -= pScrn->currentMode->VDisplay; - y += (pScrn->virtualY - 1) * (y / 3 + 1); - if (y > lastline) y = lastline; - } - Base = pScrn->fbOffset; /* note we cannot really simply use the info->ModeReg.crtc_offset_cntl value, since the |