summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorRoland Scheidegger <rscheidegger_lists@hispeed.ch>2005-02-02 21:35:30 +0000
committerRoland Scheidegger <rscheidegger_lists@hispeed.ch>2005-02-02 21:35:30 +0000
commit5ff35300e66a81ecc17c4e9396eb6d158f5c8e1b (patch)
tree53d58babf15dc9b3bd01678243da2ea0b76a2cbe /src/radeon_driver.c
parent7a9031683914bb1d17d223634e5dbf2e18955651 (diff)
fix error with color tiling and hw scrolling, it looks like rv100 doesn't
need the special treatment, after all (reported by Stephane Marchesin)
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index d7dad2b0..b02c8d9d 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -7874,13 +7874,6 @@ void RADEONDoAdjustFrame(ScrnInfoPtr pScrn, int x, int y, int clone)
int tile_addr = (((y >> 3) * info->CurrentLayout.displayWidth + x) >> (8 - byteshift)) << 11;
Base = tile_addr + ((x << byteshift) % 256) + ((y % 8) << 8);
crtcoffsetcntl = crtcoffsetcntl | (y % 16);
- if (((info->ChipFamily == CHIP_FAMILY_RV100) ||
- (info->ChipFamily == CHIP_FAMILY_RS100) ||
- (info->ChipFamily == CHIP_FAMILY_RS200)) && ((y >> 3) % 2)) {
- /* FIXME: unknown why some cards (confirmed only for rv100) need this.
- other cards might need that too (all 64bit cards maybe?) */
- Base ^= 2048;
- }
}
else {
Base = y * info->CurrentLayout.displayWidth + x;