summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/radeon/radeon_fence.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-07-29 13:20:23 +1000
committerJonathan Gray <jsg@jsg.id.au>2013-08-12 10:46:50 +1000
commit604781339b1dfdc0924c650d4c8c18dd7042d859 (patch)
treefa038a38e23ff8ec0b01302efb64f495c9b878c3 /sys/dev/pci/drm/radeon/radeon_fence.c
parent63ed33abc31c675ad3dec2ae086326c4b3509691 (diff)
reduce dmesg spam
Diffstat (limited to 'sys/dev/pci/drm/radeon/radeon_fence.c')
-rw-r--r--sys/dev/pci/drm/radeon/radeon_fence.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_fence.c b/sys/dev/pci/drm/radeon/radeon_fence.c
index 283455e98e3..e7d2c67c99f 100644
--- a/sys/dev/pci/drm/radeon/radeon_fence.c
+++ b/sys/dev/pci/drm/radeon/radeon_fence.c
@@ -804,8 +804,10 @@ int radeon_fence_driver_start_ring(struct radeon_device *rdev, int ring)
rdev->fence_drv[ring].gpu_addr = rdev->wb.gpu_addr + index;
radeon_fence_write(rdev, atomic64_read(&rdev->fence_drv[ring].last_seq), ring);
rdev->fence_drv[ring].initialized = true;
+#ifdef DRMDEBUG
dev_info(rdev->dev, "fence driver on ring %d use gpu addr 0x%016llx and cpu addr 0x%p\n",
ring, rdev->fence_drv[ring].gpu_addr, rdev->fence_drv[ring].cpu_addr);
+#endif
return 0;
}