summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915_drv.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2010-06-12 16:51:37 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2010-06-12 16:51:37 +0000
commitcd27cc6484e297f38adee86fd954b84949bb4915 (patch)
tree41dcd9868c0df643949b7db32e3de762a352309d /sys/dev/pci/drm/i915_drv.c
parentd1a0c33538a045c295230c233a2bb84b952f971b (diff)
add missing arg to a printf call
ok oga@
Diffstat (limited to 'sys/dev/pci/drm/i915_drv.c')
-rw-r--r--sys/dev/pci/drm/i915_drv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915_drv.c b/sys/dev/pci/drm/i915_drv.c
index 6801b390fe7..ea168405af3 100644
--- a/sys/dev/pci/drm/i915_drv.c
+++ b/sys/dev/pci/drm/i915_drv.c
@@ -2067,11 +2067,12 @@ i915_write_fence_reg(struct inteldrm_fence *reg)
pitch_val = obj_priv->stride / tile_width;
pitch_val = ffs(pitch_val) - 1;
+ /* XXX print more */
if ((obj_priv->tiling_mode == I915_TILING_Y &&
HAS_128_BYTE_Y_TILING(dev_priv) &&
pitch_val > I830_FENCE_MAX_PITCH_VAL) ||
pitch_val > I915_FENCE_MAX_PITCH_VAL)
- printf("%s: invalid pitch provided"); /* XXX print more */
+ printf("%s: invalid pitch provided", __func__);
val = obj_priv->gtt_offset;
if (obj_priv->tiling_mode == I915_TILING_Y)