Bug 24705 - "Fix KMS on big endian machines" breaks color tiling
Summary: "Fix KMS on big endian machines" breaks color tiling
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-23 12:36 UTC by Luca Tettamanti
Modified: 2009-10-24 13:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg log (27.42 KB, text/plain)
2009-10-23 12:37 UTC, Luca Tettamanti
no flags Details
Corruption (69.99 KB, image/jpeg)
2009-10-23 12:39 UTC, Luca Tettamanti
no flags Details
Disable color tiling on r600/r700 (648 bytes, text/plain)
2009-10-23 17:56 UTC, Luca Tettamanti
no flags Details

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.