[Bug 39282] radeon HD6790 (barts) card produces black+white horizontal stripes on screen when launching Xorg

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 3 13:33:41 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=39282

--- Comment #60 from Florian Evers <florian-evers at gmx.de> 2012-06-03 13:33:41 PDT ---
Hi Alex,

I'm sorry to say that I'm not able to apply patch
0001-drm-radeon-fix-bank-information-in-tiling-config.patch to a vanilla 3.4.0
kernel here:

x66 linux-3.4.0 # pwd
/usr/src/linux-3.4.0
x66 linux-3.4.0 # patch -p 1 <
/root/patches-20120503/0001-drm-radeon-fix-bank-information-in-tiling-config.patch 
patching file drivers/gpu/drm/radeon/evergreen.c
patching file drivers/gpu/drm/radeon/ni.c
Hunk #1 FAILED at 866.
1 out of 1 hunk FAILED -- saving rejects to file
drivers/gpu/drm/radeon/ni.c.rej
patching file drivers/gpu/drm/radeon/rv770.c
x66 linux-3.4.0 # cat drivers/gpu/drm/radeon/ni.c.rej
--- drivers/gpu/drm/radeon/ni.c
+++ drivers/gpu/drm/radeon/ni.c
@@ -866,9 +866,12 @@
        /* num banks is 8 on all fusion asics. 0 = 4, 1 = 8, 2 = 16 */
        if (rdev->flags & RADEON_IS_IGP)
                rdev->config.cayman.tile_config |= 1 << 4;
-       else
-               rdev->config.cayman.tile_config |=
-                       ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) <<
4;
+       else {
+               if ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT)
+                       rdev->config.cayman.tile_config |= 1 << 4;
+               else
+                       rdev->config.cayman.tile_config |= 0 << 4;
+       }
        rdev->config.cayman.tile_config |=
                ((gb_addr_config & PIPE_INTERLEAVE_SIZE_MASK) >>
PIPE_INTERLEAVE_SIZE_SHIFT) << 8;
        rdev->config.cayman.tile_config |=
x66 linux-3.4.0 #

The other three patches applied without problems.

Regards,
Florian

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the xorg-driver-ati mailing list