Commit 1f2e124d authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie

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

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 0a7eb243
...@@ -471,6 +471,8 @@ void radeon_test_syncing(struct radeon_device *rdev) ...@@ -471,6 +471,8 @@ void radeon_test_syncing(struct radeon_device *rdev)
for (k = 0; k < j; ++k) { for (k = 0; k < j; ++k) {
struct radeon_ring *ringC = &rdev->ring[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); DRM_INFO("Testing syncing between rings %d, %d and %d...\n", i, j, k);
radeon_test_ring_sync2(rdev, ringA, ringB, ringC); radeon_test_ring_sync2(rdev, ringA, ringB, ringC);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment