[Bug 21782] system freeze

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 6 20:59:04 PST 2010


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

--- Comment #8 from Alex Deucher <agd5f at yahoo.com> 2010-12-06 20:59:05 PST ---
(In reply to comment #7)
> (In reply to comment #6)
> > Please try the patch I attached there.
> 
> Sorry, second hunk of the patch does not work on my kernel
> (2.6.34.7-0.5-desktop) - it has a different version of r600.c.
> 

Your distro does't seem to have ported over all the latest stable patches.

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

The patch that checks the scratch pointer may fix your issue.
> 
> 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)) {

For now, just add:
!(rdev->flags & RADEON_IS_AGP)
to the if clause.  E.g.,
    if ((rdev->family >= CHIP_RV770) && (rdev->family <= CHIP_RV740) &&
        !(rdev->flags & RADEON_IS_AGP)) {



>                 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