Bug 6761

Summary: Radeon caching broken in MMIO EXA render acceleration
Product: xorg Reporter: Eric Anholt <eric>
Component: Driver/RadeonAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: alexdeucher, benh
Version: gitKeywords: patch
Hardware: x86 (IA32)   
OS: FreeBSD   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 6762    
Attachments:
Description Flags
Patch to fix cache handling in non-DRI mode. none

Description Eric Anholt 2006-04-27 11:56:33 UTC
When I disable DRI on my M6, I get bad rendering of fonts that looks like all
the caching issues I've seen before.  I tried replacing RB2D_DSTCACHE_* with
RB3D_DSTCACHE_*, since the rv200 doc indicates that RB2D_DSTCACHE* are read-only
mirrors of RB3D_DSTCACHE_*, and that fixed the issue.  The DRM uses RB3D, so
that's probably why we don't see the issue there.

I only had to do it for radeon_accel.c, interestingly enough -- I'll talk about
radeon_exa.c in another bug.  Patch will be attached shortly.

Tested with CVS server+driver as of 2006-04-25 or newer.  I haven't encountered
the issue much before, but I've always got DRI on.
Comment 1 Eric Anholt 2006-04-27 11:57:29 UTC
Created attachment 5491 [details] [review]
Patch to fix cache handling in non-DRI mode.
Comment 2 Michel Dänzer 2006-04-27 20:38:58 UTC
Looks good, go ahead and commit as far as I'm concerned.
Comment 3 Eric Anholt 2006-04-28 12:55:17 UTC
Committed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.