[PATCH 1/3] drm/radeon/kms: add some loop timeouts in pageflip code

2011-11-29 Thread Simon Farnsworth
I've tested all three patches in this series, on an AMD E-350 platform. 1/3 is essential to prevent a complete system hang if the GPU needs resetting during a page flip; the disaster case is this endless loop running on core 0, and RCU on core 1 waiting for core 0 to idle. The remaining two need

Re: [PATCH 1/3] drm/radeon/kms: add some loop timeouts in pageflip code

2011-11-29 Thread Simon Farnsworth
I've tested all three patches in this series, on an AMD E-350 platform. 1/3 is essential to prevent a complete system hang if the GPU needs resetting during a page flip; the disaster case is this endless loop running on core 0, and RCU on core 1 waiting for core 0 to idle. The remaining two need

[PATCH 1/3] drm/radeon/kms: add some loop timeouts in pageflip code

2011-11-28 Thread Mario Kleiner
On Nov 28, 2011, at 8:49 PM, alexdeucher at gmail.com wrote: > From: Alex Deucher > > Avoid infinite loops waiting for surface updates if a GPU > reset happens while waiting for a page flip. > > See: > https://bugs.freedesktop.org/show_bug.cgi?id=43191 > > Signed-off-by: Alex Deucher > Cc:

[PATCH 1/3] drm/radeon/kms: add some loop timeouts in pageflip code

2011-11-28 Thread alexdeuc...@gmail.com
From: Alex Deucher Avoid infinite loops waiting for surface updates if a GPU reset happens while waiting for a page flip. See: https://bugs.freedesktop.org/show_bug.cgi?id=43191 Signed-off-by: Alex Deucher Cc: stable at kernel.org Cc: Mario Kleiner ---

[PATCH 1/3] drm/radeon/kms: add some loop timeouts in pageflip code

2011-11-28 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com Avoid infinite loops waiting for surface updates if a GPU reset happens while waiting for a page flip. See: https://bugs.freedesktop.org/show_bug.cgi?id=43191 Signed-off-by: Alex Deucher alexander.deuc...@amd.com Cc: sta...@kernel.org Cc: Mario

Re: [PATCH 1/3] drm/radeon/kms: add some loop timeouts in pageflip code

2011-11-28 Thread Mario Kleiner
On Nov 28, 2011, at 8:49 PM, alexdeuc...@gmail.com wrote: From: Alex Deucher alexander.deuc...@amd.com Avoid infinite loops waiting for surface updates if a GPU reset happens while waiting for a page flip. See: https://bugs.freedesktop.org/show_bug.cgi?id=43191 Signed-off-by: Alex Deucher