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
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/840140
Title:
Graphical corruption then black screen using an ATI Radeon 6790 card
on boot
To manage notifications about this bug go to:
https://bugs.launchpad.net/xserver-xorg-driver-ati/+bug/840140/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs