[Bug 29808] EXA Acceleration on Evergreen results in lockup of X

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 3 07:41:44 PDT 2010


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

--- Comment #6 from Jure Repinc <jlp.bugs at gmail.com> 2010-09-03 07:41:44 PDT ---
I tried to apply the DRM patch to Linux kernel from Git and it didn't apply
# patch -p1 < evergreen_drm.patch 
patching file drivers/gpu/drm/radeon/evergreen.c
Hunk #1 succeeded at 675 with fuzz 1 (offset -435 lines).
Hunk #2 FAILED at 1202.
1 out of 2 hunks FAILED -- saving rejects to file
drivers/gpu/drm/radeon/evergreen.c.rej
patching file drivers/gpu/drm/radeon/r600.c
Hunk #1 FAILED at 2120.
1 out of 1 hunk FAILED -- saving rejects to file
drivers/gpu/drm/radeon/r600.c.rej

drivers/gpu/drm/radeon/evergreen.c.rej:
--- drivers/gpu/drm/radeon/evergreen.c
+++ drivers/gpu/drm/radeon/evergreen.c
@@ -1202,7 +1239,7 @@
        rdev->cp.rptr = RREG32(CP_RB_RPTR);
        rdev->cp.wptr = RREG32(CP_RB_WPTR);

-       r600_cp_start(rdev);
+       evergreen_cp_start(rdev);
        rdev->cp.ready = true;
        r = radeon_ring_test(rdev);
        if (r) {

drivers/gpu/drm/radeon/r600.c.rej
--- drivers/gpu/drm/radeon/r600.c
+++ drivers/gpu/drm/radeon/r600.c
@@ -2120,10 +2120,7 @@
        }
        radeon_ring_write(rdev, PACKET3(PACKET3_ME_INITIALIZE, 5));
        radeon_ring_write(rdev, 0x1);
-       if (rdev->family >= CHIP_CEDAR) {
-               radeon_ring_write(rdev, 0x0);
-               radeon_ring_write(rdev, rdev->config.evergreen.max_hw_contexts
- 1);
-       } else if (rdev->family >= CHIP_RV770) {
+       if (rdev->family >= CHIP_RV770) {
                radeon_ring_write(rdev, 0x0);
                radeon_ring_write(rdev, rdev->config.rv770.max_hw_contexts -
1);
        } else {

-- 
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