Skip to contentSkip to conversation

drm/radeon/kms: Allow interruptible wait when testing IB

PATCH New Jerome Glisse 1 participant 1 message Jun 3, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/radeon/kms: Allow interruptible wait when testing IB

On single CPU waiting without allowing interruption will lead to infinite wait.

---
 drivers/gpu/drm/radeon/r600.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/radeon/r600.c +1 -1
index f68cc92..6db9d11 100644
@@ -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;
Signature · 1 line
1.7.0.1