Bug 24705

Summary: "Fix KMS on big endian machines" breaks color tiling
Product: xorg Reporter: Luca Tettamanti <kronos.it>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg log
none
Corruption
none
Disable color tiling on r600/r700 none

Description Luca Tettamanti 2009-10-23 12:36:38 UTC
Color tiling is broken on my RV770; I've bisected this down to this commit:

9460ea864b12ec1fbd11c5d9a20bb5a4279d9d3d is first bad commit
commit 9460ea864b12ec1fbd11c5d9a20bb5a4279d9d3d
Author: Michel Dänzer <daenzer@vmware.com>
Date:   Sat Oct 3 16:33:33 2009 +0200

    Fix KMS on big endian machines.

    Requires at least xserver 1.7 to work properly.

    Also make sure the front buffer is and stays tiled if colour tiling is enabled.

I'm using Xorg 1.7, with DDX, libdrm, mesa and kernel from git. The driver works fine when ColorTiling is disabled in the configuration.
I'm attacching the log with tiling enabled and a photo of the monitor (with just an xterm).
Comment 1 Luca Tettamanti 2009-10-23 12:37:22 UTC
Created attachment 30648 [details]
Xorg log
Comment 2 Luca Tettamanti 2009-10-23 12:39:23 UTC
Created attachment 30649 [details]
Corruption
Comment 3 Alex Deucher 2009-10-23 14:22:28 UTC
Colortiling isn't supported on r6xx/r7xx chips yet.
Comment 4 Luca Tettamanti 2009-10-23 17:55:39 UTC
(In reply to comment #3)
> Colortiling isn't supported on r6xx/r7xx chips yet.

Ah, I see. The non-KMS code path forces allowColorTiling to FALSE; I'm attaching a patch to do the same when KMS is enabled.

Comment 5 Luca Tettamanti 2009-10-23 17:56:26 UTC
Created attachment 30651 [details]
Disable color tiling on r600/r700
Comment 6 Alex Deucher 2009-10-24 13:46:44 UTC
pushed. f0d9d80fee4176eaba9435a9539f29d0eefe2a87

Thanks!

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.