drm/radeon/kms: add missing ring ready check in sync tests

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Alex Deucher 2012-01-05 10:02:42 +00:00 committed by Dave Airlie
parent 0a7eb243db
commit 1f2e124df9

View file

@ -471,6 +471,8 @@ void radeon_test_syncing(struct radeon_device *rdev)
for (k = 0; k < j; ++k) {
struct radeon_ring *ringC = &rdev->ring[k];
if (!ringC->ready)
continue;
DRM_INFO("Testing syncing between rings %d, %d and %d...\n", i, j, k);
radeon_test_ring_sync2(rdev, ringA, ringB, ringC);