diff options
author | Eric Anholt <anholt@freebsd.org> | 2005-09-14 22:06:41 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2005-09-14 22:06:41 +0000 |
commit | 10cf3523f236a017a1ca7e5ee57e02176b924059 (patch) | |
tree | 68aca1e6961e563606c4e1bfe39f8b73d3ab7732 /src | |
parent | d68894a463a3bb08c97e91ff6fc4b65b29183ff6 (diff) |
Bug #2573: Remove the disabling of automatic cache flushing on non-r300
cards. It has been implicated in hanging at least r300s and some r100s,
and seemed to be the cause of some bad rendering for me.
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_accel.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c index 5cdabcbd..5934a9c1 100644 --- a/src/radeon_accel.c +++ b/src/radeon_accel.c @@ -300,16 +300,6 @@ void RADEONEngineRestore(ScrnInfoPtr pScrn) RADEONWaitForFifo(pScrn, 1); - /* NOTE: The following RB2D_DSTCACHE_MODE setting will cause the - * R300 to hang. ATI does not see a reason to change it from the - * default BIOS settings (even on non-R300 cards). This setting - * might be removed in future versions of the Radeon driver. - */ - - /* Turn of all automatic flushing - we'll do it all */ - if (!IS_R300_VARIANT) - OUTREG(RADEON_RB2D_DSTCACHE_MODE, 0); - pitch64 = ((pScrn->displayWidth * (pScrn->bitsPerPixel / 8) + 0x3f)) >> 6; /* RADEONWaitForFifo(pScrn, 2); |