diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-01-05 10:02:42 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-01-05 10:02:42 +0000 |
commit | 1f2e124df90cfc1347fd301409570fa9b0aed2c9 (patch) | |
tree | f2c97c7cc83b9f07358ffc671279a8976c228ae5 /drivers | |
parent | 0a7eb243db7864640134f8c57e6856f8eb3ed7c6 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_test.c b/drivers/gpu/drm/radeon/radeon_test.c index 210d99f91932..dc5dcf483aa3 100644 --- a/drivers/gpu/drm/radeon/radeon_test.c +++ b/drivers/gpu/drm/radeon/radeon_test.c @@ -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); |