[PATCH] [RFC] drm/radeon: rework gpu reset and fence signalling error handling

2012-02-03 Thread Dave Airlie
From: Dave Airlie This is an RFC for an idea I had to make GPU lockup recovery less likely to deadlock. This starts using error values for the gpu lockup and fence signalling. We can now return more information, like whether the GPU is in reset -EAGAIN, or crashed -EIO, or fence is busy -EBUSY

[PATCH] [RFC] drm/radeon: rework gpu reset and fence signalling error handling

2012-02-03 Thread Dave Airlie
From: Dave Airlie This is an RFC for an idea I had to make GPU lockup recovery less likely to deadlock. This starts using error values for the gpu lockup and fence signalling. We can now return more information, like whether the GPU is in reset -EAGAIN, or crashed -EIO, or fence is busy -EBUSY