[Bug 41838] Kernel Crash/Hanging system in connection between WebKit and Gnome-Shell
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Nov 6 07:11:34 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=41838
--- Comment #25 from Peter Weber <peter.weber at ttyhoney.com> 2011-11-06 07:11:34 PST ---
Created attachment 53218
--> https://bugs.freedesktop.org/attachment.cgi?id=53218
remove r600_ioctl_wait_idle for evergreen (r800) based cards
It seems mit guess was right, if I'm right this patch caused the bug?
https://lkml.org/lkml/2011/6/1/302
I take a look at the source of /drivers/gpu/drm/radeon/radeon_asic.c and
decided to remove "ioctl_wait_idle = r600_ioctl_wait_idle" from "static struct
radeon_asic evergreen_asic". I hope this doesn't cause a new problems, but
maybe I'm lucky:
/drivers/gpu/drm/radeon/r600.c
3533 /**
3534 * r600_ioctl_wait_idle - flush host path cache on wait idle ioctl
3535 * rdev: radeon device structure
3536 * bo: buffer object struct which userspace is waiting for idle
3537 *
3538 * Some R6XX/R7XX doesn't seems to take into account HDP flush performed
3539 * through ring buffer, this leads to corruption in rendering, see
3540 * http://bugzilla.kernel.org/show_bug.cgi?id=15186 to avoid this we
3541 * directly perform HDP flush by writing register through MMIO.
3542 */
3543 void r600_ioctl_wait_idle(struct radeon_device *rdev, struct radeon_bo
*bo)
{
...
}
My affected card is a Radeon 5650 Mobility, a Evergreen which is ~ R800. So
r600_ioctl_wait_idle() shouldn't be necessary for Evergreen based cards. I've
tested the change now as much as possible for me within the Gnome-Shell and
Framebuffer-Terminals (Suspend to RAM, runs of IOQuake3, glxgears, glchess,
Midori, Firefox).
Thanks
--
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