* [PATCH] drm/radeon/kms: Allow interruptible wait when testing IB
@ 2010-06-03 17:46 Jerome Glisse
0 siblings, 0 replies; only message in thread
From: Jerome Glisse @ 2010-06-03 17:46 UTC (permalink / raw
To: airlied; +Cc: Jerome Glisse, dri-devel
On single CPU waiting without allowing interruption will lead
to infinite wait.
Signed-off-by: Jerome Glisse <jglisse@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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-03 17:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-03 17:46 [PATCH] drm/radeon/kms: Allow interruptible wait when testing IB Jerome Glisse
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.