projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a7eb24
)
drm/radeon/kms: add missing ring ready check in sync tests
author
Alex Deucher
<alexander.deucher@amd.com>
Thu, 5 Jan 2012 10:02:42 +0000
(10:02 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 5 Jan 2012 10:02:42 +0000
(10:02 +0000)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_test.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_test.c
b/drivers/gpu/drm/radeon/radeon_test.c
index 210d99f9193290d9b02d8b3981b7cf61baa03134..dc5dcf483aa3c0217c85a2db318ac07542754dde 100644
(file)
--- 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);