[Bug 21782] system freeze

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 6 15:14:35 PST 2010


--- Comment #7 from Holger Lenz <holger.lenz at onlinehome.de> 2010-12-06 15:14:35 PST ---
(In reply to comment #6)
> Please try the patch I attached there.

Sorry, second hunk of the patch does not work on my kernel
( - it has a different version of r600.c.

In r600_ioctl_wait_idle, there is no reference to rdev->vram_scratch.ptr, but
only the following code:

void r600_ioctl_wait_idle(struct radeon_device *rdev, struct radeon_bo *bo)
        /* r7xx hw bug.  write to HDP_DEBUG1 followed by fb read
         * rather than write to HDP_REG_COHERENCY_FLUSH_CNTL
        if ((rdev->family >= CHIP_RV770) && (rdev->family <= CHIP_RV740)) {
                void __iomem *ptr = (void *)rdev->gart.table.vram.ptr;
                u32 tmp;

                WREG32(HDP_DEBUG1, 0);
                tmp = readl((void __iomem *)ptr);
        } else
                WREG32(R_005480_HDP_MEM_COHERENCY_FLUSH_CNTL, 0x1);

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