summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/radeon/radeon_test.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-02-11 07:01:38 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-02-11 07:01:38 +0000
commitad5913cac487cf6124985987c03aae56e75bcdc9 (patch)
treead00508d4531d96a46f0b1c7745cc67c0cfa0612 /sys/dev/pci/drm/radeon/radeon_test.c
parent0980b0a5576b31b8beebf58ba89e9c93653d6e32 (diff)
Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.
Diffstat (limited to 'sys/dev/pci/drm/radeon/radeon_test.c')
-rw-r--r--sys/dev/pci/drm/radeon/radeon_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_test.c b/sys/dev/pci/drm/radeon/radeon_test.c
index 1f8cc8bb23d..675290184d3 100644
--- a/sys/dev/pci/drm/radeon/radeon_test.c
+++ b/sys/dev/pci/drm/radeon/radeon_test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: radeon_test.c,v 1.3 2014/02/10 01:08:34 jsg Exp $ */
+/* $OpenBSD: radeon_test.c,v 1.4 2015/02/11 07:01:37 jsg Exp $ */
/*
* Copyright 2009 VMware, Inc.
*
@@ -241,7 +241,7 @@ out_cleanup:
radeon_fence_unref(&fence);
}
if (r) {
- DRM_ERROR("Error while testing BO move.\n");
+ printk(KERN_WARNING "Error while testing BO move.\n");
}
}
@@ -340,7 +340,7 @@ out_cleanup:
radeon_fence_unref(&fence2);
if (r)
- DRM_ERROR("Error while testing ring sync (%d).\n", r);
+ printk(KERN_WARNING "Error while testing ring sync (%d).\n", r);
}
static void radeon_test_ring_sync2(struct radeon_device *rdev,
@@ -455,7 +455,7 @@ out_cleanup:
radeon_fence_unref(&fenceB);
if (r)
- DRM_ERROR("Error while testing ring sync (%d).\n", r);
+ printk(KERN_WARNING "Error while testing ring sync (%d).\n", r);
}
void radeon_test_syncing(struct radeon_device *rdev)