[PATCH] drm/radeon/kms: Allow interruptible wait when testing IB
Jerome Glisse
jglisse at redhat.com
Thu Jun 3 10:46:59 PDT 2010
On single CPU waiting without allowing interruption will lead
to infinite wait.
Signed-off-by: Jerome Glisse <jglisse at redhat.com>
---
drivers/gpu/drm/radeon/r600.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
index f68cc92..6db9d11 100644
--- a/drivers/gpu/drm/radeon/r600.c
+++ b/drivers/gpu/drm/radeon/r600.c
@@ -2607,7 +2607,7 @@ int r600_ib_test(struct radeon_device *rdev)
DRM_ERROR("radeon: failed to schedule ib (%d).\n", r);
return r;
}
- r = radeon_fence_wait(ib->fence, false);
+ r = radeon_fence_wait(ib->fence, true);
if (r) {
DRM_ERROR("radeon: fence wait failed (%d).\n", r);
return r;
--
1.7.0.1
More information about the dri-devel
mailing list