summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-07-29 12:39:48 +1000
committerJonathan Gray <jsg@jsg.id.au>2013-08-12 10:46:46 +1000
commit101757e439ac07734d9b63aea96e69aaa599f3e3 (patch)
tree65f99ddccd7547d47183671f7578d8d18bcc025d
parent2a71719b1f6bc96f506b526b518e20a6284c854c (diff)
make printing some fb details debug only
-rw-r--r--sys/dev/pci/drm/radeon/radeon_fb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_fb.c b/sys/dev/pci/drm/radeon/radeon_fb.c
index dce77c77b4a..35454d30c5c 100644
--- a/sys/dev/pci/drm/radeon/radeon_fb.c
+++ b/sys/dev/pci/drm/radeon/radeon_fb.c
@@ -292,10 +292,12 @@ static int radeonfb_create(struct radeon_fbdev *rfbdev,
DRM_INFO("fb mappable at 0x%lX\n", info->fix.smem_start);
#endif
+#ifdef DRMDEBUG
DRM_INFO("vram apper at 0x%lX\n", (unsigned long)rdev->mc.aper_base);
DRM_INFO("size %lu\n", (unsigned long)radeon_bo_size(rbo));
DRM_INFO("fb depth is %d bpp is %d\n", fb->depth, fb->bits_per_pixel);
DRM_INFO(" pitch is %d\n", fb->pitches[0]);
+#endif
memset(rbo->kptr, 0x0, radeon_bo_size(rbo));