summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorChristian König <deathsimple@vodafone.de>2011-09-27 10:31:00 (GMT)
committerDave Airlie <airlied@redhat.com>2011-12-20 19:50:19 (GMT)
commit60a7e3964db8cd698696b27f3c720365c374905a (patch)
tree45bd23e95601c40021cc8cfe2c3981810abfb3c3 /drivers/gpu/drm/radeon/radeon.h
parentbf85279958da96cb4b11aac89b34f0424c3c120e (diff)
downloadlinux-fsl-qoriq-60a7e3964db8cd698696b27f3c720365c374905a.tar.xz
drm/radeon: Add radeon_test_syncing function v2
Tests syncing between all rings by using semaphores and fences. v2: use radeon_testing as a bit flag rather than on/off switch this allow to test for one thing at a time (bo_move or semaphore test). It kind of break the usage if user wheren't using 1 for bo move test but as it's a test feature i believe it's ok. Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 76c58e9..fbe902b 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -913,6 +913,10 @@ void radeon_benchmark(struct radeon_device *rdev, int test_number);
* Testing
*/
void radeon_test_moves(struct radeon_device *rdev);
+void radeon_test_ring_sync(struct radeon_device *rdev,
+ struct radeon_cp *cpA,
+ struct radeon_cp *cpB);
+void radeon_test_syncing(struct radeon_device *rdev);
/*